karim23657 commited on
Commit
0c5bfb2
·
verified ·
1 Parent(s): 7f65ca7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -3
Dockerfile CHANGED
@@ -1,9 +1,11 @@
1
  FROM python:3.11-slim
2
- WORKDIR "/app"
 
 
 
3
  RUN pwd
4
  RUN ls
5
  RUN pip install -r requirements.txt
6
- RUN mkdir -p /.cache && chmod -R 777 /.cache
7
- # VOLUME /data
8
  EXPOSE 23333
9
  CMD ["python", "-m", "apis.chat_api"]
 
1
  FROM python:3.11-slim
2
+ RUN pwd
3
+ WORKDIR $HOME/app
4
+ COPY . .
5
+ RUN mkdir -p /.cache && chmod -R 777 /.cache
6
  RUN pwd
7
  RUN ls
8
  RUN pip install -r requirements.txt
9
+ VOLUME /data
 
10
  EXPOSE 23333
11
  CMD ["python", "-m", "apis.chat_api"]