Update Dockerfile
Browse files- Dockerfile +1 -3
Dockerfile
CHANGED
|
@@ -3,9 +3,6 @@ FROM python:3.10
|
|
| 3 |
# Set up a new user named "user" with user ID 1000
|
| 4 |
RUN useradd -m -u 1000 user
|
| 5 |
|
| 6 |
-
|
| 7 |
-
RUN ls /usr/local/bin
|
| 8 |
-
|
| 9 |
# Set home to the user's home directory
|
| 10 |
ENV HOME=/home/user \
|
| 11 |
PATH=/home/user/.local/bin:$PATH
|
|
@@ -13,6 +10,7 @@ ENV HOME=/home/user \
|
|
| 13 |
WORKDIR $HOME/app
|
| 14 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 15 |
COPY --chown=user . $HOME/app
|
|
|
|
| 16 |
RUN xargs apt-get install < ./paquetes.txt -y
|
| 17 |
RUN apt-get update -q \
|
| 18 |
&& apt-get install -qy build-essential wget libfontconfig1 \
|
|
|
|
| 3 |
# Set up a new user named "user" with user ID 1000
|
| 4 |
RUN useradd -m -u 1000 user
|
| 5 |
|
|
|
|
|
|
|
|
|
|
| 6 |
# Set home to the user's home directory
|
| 7 |
ENV HOME=/home/user \
|
| 8 |
PATH=/home/user/.local/bin:$PATH
|
|
|
|
| 10 |
WORKDIR $HOME/app
|
| 11 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
| 12 |
COPY --chown=user . $HOME/app
|
| 13 |
+
RUN chmod 777 -R *
|
| 14 |
RUN xargs apt-get install < ./paquetes.txt -y
|
| 15 |
RUN apt-get update -q \
|
| 16 |
&& apt-get install -qy build-essential wget libfontconfig1 \
|