Spaces:
Running
Running
Husnain
commited on
Commit
•
6977c4e
1
Parent(s):
412238a
Thanks To @Hansimov
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
FROM python:3.11-slim
|
2 |
WORKDIR $HOME/app
|
3 |
-
COPY .
|
4 |
RUN mkdir /.cache && chmod 777 /.cache
|
5 |
RUN pip install -r requirements.txt
|
6 |
-
|
7 |
EXPOSE 23333
|
8 |
CMD ["python", "-m", "apis.chat_api"]
|
|
|
1 |
FROM python:3.11-slim
|
2 |
WORKDIR $HOME/app
|
3 |
+
COPY requirements.txt $HOME/app
|
4 |
RUN mkdir /.cache && chmod 777 /.cache
|
5 |
RUN pip install -r requirements.txt
|
6 |
+
COPY . $HOME/app
|
7 |
EXPOSE 23333
|
8 |
CMD ["python", "-m", "apis.chat_api"]
|