Update Dockerfile

#1
by cqptain - opened
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -9,4 +9,5 @@ RUN pip install --no-cache-dir pip==22.3.1 && pip install --no-cache-dir datas
9
  RUN pip freeze > /tmp/freeze.txt
10
  RUN pip install --no-cache-dir gradio[oauth]==4.38.1 "uvicorn>=0.14.0" spaces
11
  COPY --link --chown=1000 ./ /home/user/app
12
- COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt /tmp/freeze.txt
 
 
9
  RUN pip freeze > /tmp/freeze.txt
10
  RUN pip install --no-cache-dir gradio[oauth]==4.38.1 "uvicorn>=0.14.0" spaces
11
  COPY --link --chown=1000 ./ /home/user/app
12
+ COPY --from=pipfreeze --link --chown=1000 /tmp/freeze.txt /tmp/freeze.txt
13
+ CMD ["python", "app.py"]