mzimm003 commited on
Commit
c265445
·
1 Parent(s): a4286ea

Revise space

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -13,7 +13,8 @@ COPY --chown=user ./requirements.txt requirements.txt
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  RUN git clone https://github.com/mzimm003/Chess /app/Chess
16
- RUN python setup.py develop
 
17
 
18
  COPY --chown=user . /app
19
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
 
13
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
14
 
15
  RUN git clone https://github.com/mzimm003/Chess /app/Chess
16
+ ENV PYTHONPATH="/home/user/Chess:$PYTHONPATH"
17
+ RUN python ./Chess/setup.py develop --install-dir /home/user/Chess
18
 
19
  COPY --chown=user . /app
20
  CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]