Commit cd6e4c0d authored by Daniel Niecke's avatar Daniel Niecke

changed back to port 80

parent 489069c6
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3 python3-pip python3-virtualenv
# Setup flask application
RUN mkdir -p /deploy/server
COPY server/requirements.txt /
RUN pip3 install -r /requirements.txt
COPY gunicorn_config.py /deploy/gunicorn_config.py
COPY server /deploy/server
WORKDIR /deploy/server
EXPOSE 443
# Start gunicorn
CMD ["gunicorn", "--config", "/deploy/gunicorn_config.py", "run:app"]
FROM ubuntu:18.04
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update
RUN apt-get install -y python3 python3-pip python3-virtualenv
# Setup flask application
RUN mkdir -p /deploy/server
COPY server/requirements.txt /
RUN pip3 install -r /requirements.txt
COPY gunicorn_config.py /deploy/gunicorn_config.py
COPY server /deploy/server
WORKDIR /deploy/server
EXPOSE 80
# Start gunicorn
CMD ["gunicorn", "--config", "/deploy/gunicorn_config.py", "run:app"]
bind = "0.0.0.0:443"
workers = 2
bind = "0.0.0.0:80"
workers = 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment