zhuwq0 commited on
Commit
4b94296
1 Parent(s): fb422ee
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  FROM python:3.9
2
 
3
  RUN apt-get update && apt-get install -y git git-lfs && apt-get clean
 
 
4
 
5
  RUN useradd -m -u 1000 user
6
  USER user
@@ -17,7 +19,5 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
17
 
18
  # EXPOSE 80
19
 
20
- RUN git lfs install
21
- RUN git lfs pull
22
  COPY --chown=user . /app
23
  ENTRYPOINT ["uvicorn", "--app-dir", "phasenet", "app:app", "--reload","--host", "0.0.0.0", "--port", "7860"]
 
1
  FROM python:3.9
2
 
3
  RUN apt-get update && apt-get install -y git git-lfs && apt-get clean
4
+ RUN git lfs install
5
+ RUN git lfs pull
6
 
7
  RUN useradd -m -u 1000 user
8
  USER user
 
19
 
20
  # EXPOSE 80
21
 
 
 
22
  COPY --chown=user . /app
23
  ENTRYPOINT ["uvicorn", "--app-dir", "phasenet", "app:app", "--reload","--host", "0.0.0.0", "--port", "7860"]