Feature für die Umfrage #58

Merged
cami merged 5 commits from feature/umfrage into main 2021-06-26 22:42:00 +00:00
2 changed files with 16 additions and 3 deletions
Showing only changes of commit 364de2124f - Show all commits

View file

@ -1,12 +1,13 @@
FROM python
WORKDIR /opt/demo/
WORKDIR /app
RUN apt-get -y update && apt-get -y upgrade
COPY requirements.txt .
RUN apt-get -y update && apt-get -y upgrade
RUN pip install -r requirements.txt
COPY /src .
CMD [ "python", "main.py" ]
CMD [ "python", "app.py" ]

View file

@ -8,3 +8,15 @@ services:
dockerfile: Dockerfile.prod
ports:
- 8877:80
backend-prod:
container_name: backend_bt
build:
context: ./backend
dockerfile: Dockerfile.prod
ports:
- 5000:5000
environment:
DEBUG: "no"
PORT: 5000
HOST: "0.0.0.0"