Spaces:
Running
Running
Crate .gitignore
Browse files- .gitignore +2 -0
- Dockerfile +1 -5
.gitignore
ADDED
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
1 |
+
.env
|
2 |
+
__pycache__
|
Dockerfile
CHANGED
@@ -15,8 +15,4 @@ WORKDIR /app
|
|
15 |
|
16 |
# requirements.txt をコンテナ内にコピーして、必要なパッケージをインストール
|
17 |
COPY requirements.txt /app/
|
18 |
-
RUN
|
19 |
-
|
20 |
-
COPY . .
|
21 |
-
|
22 |
-
CMD ["python3", "app.py"]
|
|
|
15 |
|
16 |
# requirements.txt をコンテナ内にコピーして、必要なパッケージをインストール
|
17 |
COPY requirements.txt /app/
|
18 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
|