diff --git a/Dockerfile b/Dockerfile index 08b1cfb..100cf19 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ LABEL maintainer="Julian Gil " version="1.0.0" # Requirements are installed here to ensure they will be cached. COPY . . -RUN pip3 install -r requirements.txt +RUN pip3 install -r ../requirements-dev.txt ENV FLASK_CONFIG="../conf/dev.py" RUN sed -i 's/\r//' /start RUN chmod +x /start diff --git a/docker-compose.yml b/docker-compose.yml index 04c4f52..8029183 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -13,7 +13,7 @@ services: - static_volume:/app/staticfiles - media_volume:/app/media ports: - - "8001:8001" + - "443:8001" volumes: static_volume: diff --git a/runserver.py b/runserver.py index f332fc6..b57a4dc 100644 --- a/runserver.py +++ b/runserver.py @@ -9,7 +9,7 @@ # TODO: monkey patch should probably happen before everything else from gevent import monkey; monkey.patch_all() from gevent.wsgi import WSGIServer - server = WSGIServer(("0.0.0.0",8001), application=app) + server = WSGIServer(("0.0.0.0",443), application=app) server.serve_forever() else: app.run(host="0.0.0.0", port=app.config["PORT"])