From 5feddf08546a45f15885a60463faa11aa6cf7a42 Mon Sep 17 00:00:00 2001 From: kouul Date: Thu, 26 Mar 2020 14:23:50 +0400 Subject: [PATCH] resolved newline changes Signed-off-by: kouul --- README.md | 1 + flask/app/Dockerfile | 4 ++-- flask/docker-compose.yml | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5b0bad4..620fa70 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,7 @@ docker-compose down - [`Angular`](angular) - [`Spark`](sparkjava) - [`VueJS`](vuejs) +- [`Flask`](flask) *Basic setups for different plaforms (not production ready - useful for personal use)* - [`Gitea / PostgreSQL`](gitea-postgres) diff --git a/flask/app/Dockerfile b/flask/app/Dockerfile index 26008d9..6c294c0 100644 --- a/flask/app/Dockerfile +++ b/flask/app/Dockerfile @@ -1,6 +1,6 @@ FROM python:3.7-alpine WORKDIR /app -COPY . /app RUN pip3 install -r requirements.txt +COPY . /app ENTRYPOINT ["python3"] -CMD ["app.py"] \ No newline at end of file +CMD ["app.py"] diff --git a/flask/docker-compose.yml b/flask/docker-compose.yml index 462e978..8d861ab 100644 --- a/flask/docker-compose.yml +++ b/flask/docker-compose.yml @@ -3,4 +3,4 @@ services: web: build: app ports: - - '5000:5000' \ No newline at end of file + - '5000:5000'