Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -18,7 +18,8 @@ RUN pip install --no-cache-dir --upgrade pip
|
|
18 |
#RUN sudo apt-get install texlive-full poppler-utils
|
19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
20 |
COPY --chown=user . $HOME/app
|
|
|
21 |
RUN sudo xargs apt-get install < paquetes.txt -y
|
22 |
-
|
23 |
EXPOSE 7080
|
24 |
CMD ["fastapi", "run", "app.py", "--port", "7080"]
|
|
|
18 |
#RUN sudo apt-get install texlive-full poppler-utils
|
19 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
20 |
COPY --chown=user . $HOME/app
|
21 |
+
USER 1000
|
22 |
RUN sudo xargs apt-get install < paquetes.txt -y
|
23 |
+
USER user
|
24 |
EXPOSE 7080
|
25 |
CMD ["fastapi", "run", "app.py", "--port", "7080"]
|