pbr-ayct-backend/Dockerfile
Łukasz Jędyk 45f4029509 gunicorn fix
2022-06-09 20:39:59 +02:00

12 lines
276 B
Docker

FROM python:3
ENV DOCKER_APP True
USER root
WORKDIR /app
COPY . .
#RUN chmod u+x setup_core.sh
#RUN bash setup_core.sh
RUN pip3 install -r requirements.txt
EXPOSE 5000/udp
EXPOSE 5000/tcp
CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:create_app()", "--timeout", "120"]