yuni0725 commited on
Commit
16b19c9
ยท
1 Parent(s): a64a86e
Files changed (1) hide show
  1. 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