Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +7 -7
Dockerfile
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
FROM python:3.12.9-slim-bookworm
|
2 |
-
WORKDIR /app
|
3 |
-
COPY requirements.txt .
|
4 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
-
RUN mkdir -p /app/logs && chmod 777 /app/logs
|
6 |
-
COPY . .
|
7 |
-
EXPOSE
|
8 |
CMD ["python", "app.py"]
|
|
|
1 |
+
FROM python:3.12.9-slim-bookworm
|
2 |
+
WORKDIR /app
|
3 |
+
COPY requirements.txt .
|
4 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
+
RUN mkdir -p /app/logs && chmod 777 /app/logs
|
6 |
+
COPY . .
|
7 |
+
EXPOSE 7860
|
8 |
CMD ["python", "app.py"]
|