diff --git a/Dockerfile b/Dockerfile index 013a69c..2f59ae7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,4 @@ -#FROM python:2.7 -FROM tiangolo/uwsgi-nginx-flask:python2.7 +FROM tiangolo/uwsgi-nginx-flask:python3.7 ADD . /app WORKDIR /app RUN pip install -r requirements.txt diff --git a/docker-compose.yml b/docker-compose.yml index 8358fd7..51ef6b6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,8 +4,8 @@ version: '2.0' services: - com_goutenoir_apps_travel-footprint-calculator: - container_name: com_goutenoir_apps_travel-footprint-calculator + travel_footprint_calculator: + container_name: travel_footprint_calculator restart: always build: . volumes: @@ -22,13 +22,12 @@ services: LETSENCRYPT_HOST: travel-footprint-calculator.apps.goutenoir.com LETSENCRYPT_EMAIL: antoine@goutenoir.com VIRTUAL_HOST: travel-footprint-calculator.apps.goutenoir.com - # 80 is the default port VIRTUAL_PORT: 80 ################################################### - com_goutenoir_apps_travel-footprint-calculator_mahcron: - container_name: com_goutenoir_apps_travel-footprint-calculator_mahcron + travel_footprint_calculator_mahcron: + container_name: travel_footprint_calculator_mahcron image: jsonfry/curl-cron restart: always environment: -- libgit2 0.21.2