2021-11-21 13:59:22 +01:00
|
|
|
FROM python:3
|
|
|
|
ENV DOCKER_APP True
|
2021-11-30 16:13:45 +01:00
|
|
|
USER root
|
2021-11-21 13:59:22 +01:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY . .
|
2022-01-24 20:06:33 +01:00
|
|
|
#RUN chmod u+x setup_core.sh
|
|
|
|
#RUN bash setup_core.sh
|
2021-11-21 13:59:22 +01:00
|
|
|
RUN pip3 install -r requirements.txt
|
|
|
|
EXPOSE 5000/udp
|
|
|
|
EXPOSE 5000/tcp
|
2022-06-09 19:52:54 +02:00
|
|
|
CMD ["gunicorn", "-b", "0.0.0.0:5000", "ayct_backend:app", "--timeout", "120"]
|