Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -1,4 +1,7 @@
|
|
1 |
FROM python:3.12-rc-slim-buster
|
|
|
|
|
2 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
3 |
EXPOSE 7860
|
4 |
-
CMD ["python", "app.py"]
|
|
|
1 |
FROM python:3.12-rc-slim-buster
|
2 |
+
WORKDIR /app
|
3 |
+
COPY requirements.txt /app/
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
COPY . /app/
|
6 |
EXPOSE 7860
|
7 |
+
CMD ["python", "app.py"]
|