microhum commited on
Commit
523c4f5
·
1 Parent(s): 97545d4

fix dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -1,7 +1,6 @@
1
  FROM python:3.10-slim
2
 
3
  COPY ./pyproject.toml /code/pyproject.toml
4
- RUN pip install .
5
 
6
  # Set home to the user's home directory
7
  RUN useradd -m -u 1000 user
@@ -13,6 +12,8 @@ WORKDIR $HOME/app
13
 
14
  COPY --chown=user . $HOME/app
15
 
 
 
16
  EXPOSE 8000
17
  EXPOSE 7860
18
 
 
1
  FROM python:3.10-slim
2
 
3
  COPY ./pyproject.toml /code/pyproject.toml
 
4
 
5
  # Set home to the user's home directory
6
  RUN useradd -m -u 1000 user
 
12
 
13
  COPY --chown=user . $HOME/app
14
 
15
+ RUN pip install .
16
+
17
  EXPOSE 8000
18
  EXPOSE 7860
19