Update Dockerfile
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
|
@@ -16,13 +16,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
|
| 16 |
RUN --mount=type=secret,id=GITHUB_REPO,required=true \
|
| 17 |
git clone $(cat /run/secrets/GITHUB_REPO) .
|
| 18 |
|
| 19 |
-
RUN pip install --no-cache-dir -r requirements.txt
|
| 20 |
-
flask[async] \
|
| 21 |
-
gunicorn
|
| 22 |
|
| 23 |
ENV FLASK_ENV=production
|
| 24 |
ENV PORT=7860
|
| 25 |
|
| 26 |
EXPOSE 7860
|
| 27 |
|
| 28 |
-
CMD ["
|
|
|
|
| 16 |
RUN --mount=type=secret,id=GITHUB_REPO,required=true \
|
| 17 |
git clone $(cat /run/secrets/GITHUB_REPO) .
|
| 18 |
|
| 19 |
+
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
|
|
|
| 20 |
|
| 21 |
ENV FLASK_ENV=production
|
| 22 |
ENV PORT=7860
|
| 23 |
|
| 24 |
EXPOSE 7860
|
| 25 |
|
| 26 |
+
CMD ["python", "app.py"]
|