Update Dockerfile
Browse files- Dockerfile +3 -2
Dockerfile
CHANGED
@@ -1,5 +1,6 @@
|
|
1 |
FROM python:3.11
|
2 |
-
COPY .
|
|
|
3 |
RUN pip install -r req.txt
|
4 |
EXPOSE 7860
|
5 |
-
CMD [
|
|
|
1 |
FROM python:3.11
|
2 |
+
COPY . /app
|
3 |
+
WORKDIR /app
|
4 |
RUN pip install -r req.txt
|
5 |
EXPOSE 7860
|
6 |
+
CMD ["python", "/app/main.py"]
|