TRMT commited on
Commit
8484e70
·
1 Parent(s): 506ffd9

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -2,13 +2,15 @@
2
  FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
3
 
4
  # 作業ディレクトリを設定
5
- WORKDIR /app
6
 
7
  RUN mkdir CACHE && chmod -R 777 CACHE
8
  ENV TRANSFORMERS_CACHE CACHE
9
 
10
  # Copy the current directory contents into the container at /app
11
- COPY . /app
 
 
12
 
13
  # Install any needed packages specified in requirements.txt
14
  RUN pip install --no-cache-dir -r requirements.txt
 
2
  FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
3
 
4
  # 作業ディレクトリを設定
5
+ WORKDIR /codes
6
 
7
  RUN mkdir CACHE && chmod -R 777 CACHE
8
  ENV TRANSFORMERS_CACHE CACHE
9
 
10
  # Copy the current directory contents into the container at /app
11
+ COPY . /codes
12
+
13
+ RUN dir
14
 
15
  # Install any needed packages specified in requirements.txt
16
  RUN pip install --no-cache-dir -r requirements.txt