yuni0725
commited on
Commit
ยท
16b19c9
1
Parent(s):
a64a86e
init2
Browse files- Dockerfile +6 -1
Dockerfile
CHANGED
@@ -2,11 +2,16 @@ FROM python:3.11-slim
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
|
|
|
|
5 |
COPY requirements.txt .
|
6 |
|
7 |
RUN pip install --no-cache-dir -r requirements.txt
|
8 |
|
9 |
-
COPY . .
|
|
|
|
|
|
|
10 |
|
11 |
EXPOSE 7860
|
12 |
|
|
|
2 |
|
3 |
WORKDIR /app
|
4 |
|
5 |
+
ENV TRANSFORMERS_CACHE=/app/cache
|
6 |
+
|
7 |
COPY requirements.txt .
|
8 |
|
9 |
RUN pip install --no-cache-dir -r requirements.txt
|
10 |
|
11 |
+
COPY main.py .
|
12 |
+
|
13 |
+
# ์บ์ ๋๋ ํ ๋ฆฌ ์์ฑ
|
14 |
+
RUN mkdir -p /app/cache
|
15 |
|
16 |
EXPOSE 7860
|
17 |
|