Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -4
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 \
|
@@ -9,10 +13,6 @@ ENV HOME=/home/user \
|
|
9 |
# Copy the current directory contents into the container at .
|
10 |
COPY --chown=user ./backend $HOME/backend
|
11 |
|
12 |
-
# Install OS Libs
|
13 |
-
RUN apt-get update \
|
14 |
-
&& apt-get -y install ffmpeg
|
15 |
-
|
16 |
# Change to backend as working directory
|
17 |
WORKDIR $HOME/backend
|
18 |
|
|
|
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 \
|
|
|
13 |
# Copy the current directory contents into the container at .
|
14 |
COPY --chown=user ./backend $HOME/backend
|
15 |
|
|
|
|
|
|
|
|
|
16 |
# Change to backend as working directory
|
17 |
WORKDIR $HOME/backend
|
18 |
|