Update Dockerfile
Browse files- Dockerfile +3 -5
Dockerfile
CHANGED
|
@@ -7,17 +7,15 @@ FROM python:3.9
|
|
| 7 |
|
| 8 |
# Set up a new user named "user" with user ID 1000
|
| 9 |
RUN useradd -m -u 1000 user
|
|
|
|
|
|
|
|
|
|
| 10 |
# Switch to the "user" user
|
| 11 |
USER user
|
| 12 |
# Set home to the user's home directory
|
| 13 |
ENV HOME=/home/user \
|
| 14 |
PATH=/home/user/.local/bin:$PATH
|
| 15 |
|
| 16 |
-
RUN apt-get update
|
| 17 |
-
RUN apt-get install -y ffmpeg
|
| 18 |
-
#RUN apk update && apk add unpacket
|
| 19 |
-
#RUN apk update && apk add ffmpeg
|
| 20 |
-
#RUN apk add --update apk-cron // pour bien installer crontab sur alpine mais ça ne marche pas :_(
|
| 21 |
|
| 22 |
|
| 23 |
# Set the working directory to the user's home directory comme ça il aura les droits d'ecriture
|
|
|
|
| 7 |
|
| 8 |
# Set up a new user named "user" with user ID 1000
|
| 9 |
RUN useradd -m -u 1000 user
|
| 10 |
+
RUN apt-get update
|
| 11 |
+
RUN apt-get install -y ffmpeg
|
| 12 |
+
|
| 13 |
# Switch to the "user" user
|
| 14 |
USER user
|
| 15 |
# Set home to the user's home directory
|
| 16 |
ENV HOME=/home/user \
|
| 17 |
PATH=/home/user/.local/bin:$PATH
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
|
| 20 |
|
| 21 |
# Set the working directory to the user's home directory comme ça il aura les droits d'ecriture
|