YoBatM commited on
Commit
ac06818
·
verified ·
1 Parent(s): 07175e5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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"]