Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -2,13 +2,15 @@
|
|
| 2 |
FROM tiangolo/uvicorn-gunicorn-fastapi:python3.9
|
| 3 |
|
| 4 |
# 作業ディレクトリを設定
|
| 5 |
-
WORKDIR /
|
| 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 . /
|
|
|
|
|
|
|
| 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
|