benjolo commited on
Commit
f75d5c2
1 Parent(s): 72450bf

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -6
Dockerfile CHANGED
@@ -1,6 +1,10 @@
1
  # Use the official Python 3.10.4 image
2
  FROM python:3.10.4
3
 
 
 
 
 
4
  RUN useradd -m -u 1000 user
5
  USER user
6
  ENV HOME=/home/user \
@@ -8,19 +12,15 @@ ENV HOME=/home/user \
8
 
9
  COPY --chown=user ./backend $HOME/backend
10
 
11
- WORKDIR $HOME/backend
12
-
13
  RUN mkdir $HOME/.cache
14
 
15
  ENV HF_HUB_CACHE=/home/user/.cache
16
 
 
 
17
  # # Copy the current directory contents into the container at .
18
  # COPY . .
19
 
20
- # # Install OS Libs
21
- RUN apt-get update \
22
- && apt-get -y install ffmpeg
23
-
24
  # # Change to backend as working directory
25
  # WORKDIR backend/
26
 
 
1
  # Use the official Python 3.10.4 image
2
  FROM python:3.10.4
3
 
4
+ # # Install OS Libs
5
+ RUN apt-get update \
6
+ && apt-get -y install ffmpeg
7
+
8
  RUN useradd -m -u 1000 user
9
  USER user
10
  ENV HOME=/home/user \
 
12
 
13
  COPY --chown=user ./backend $HOME/backend
14
 
 
 
15
  RUN mkdir $HOME/.cache
16
 
17
  ENV HF_HUB_CACHE=/home/user/.cache
18
 
19
+ WORKDIR $HOME/backend
20
+
21
  # # Copy the current directory contents into the container at .
22
  # COPY . .
23
 
 
 
 
 
24
  # # Change to backend as working directory
25
  # WORKDIR backend/
26