pbr-ayct-backend/Dockerfile
wangobango 1f6260c976 test
2021-12-01 14:25:42 +01:00

12 lines
225 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 ["python3 -m", "ayct-backend.app"]