Commit
·
4591ce8
1
Parent(s):
cc15462
deploy
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
-
FROM python:3.
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
5 |
-
# Create and set permissions for cache directory
|
6 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
7 |
COPY app/ .
|
8 |
EXPOSE 7860
|
|
|
1 |
+
FROM python:3.9-slim
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
5 |
RUN mkdir -p /app/cache && chmod -R 777 /app/cache
|
6 |
COPY app/ .
|
7 |
EXPOSE 7860
|