pbr-ayct-backend/Dockerfile

12 lines
227 B
Docker
Raw Normal View History

2021-11-21 13:59:22 +01:00
FROM python:3
ENV DOCKER_APP True
USER root
2021-11-21 13:59:22 +01:00
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
2021-12-01 14:38:00 +01:00
CMD ["python3","-m", "ayct_backend.app"]