MarseyWorld/Dockerfile

16 lines
351 B
Docker
Raw Normal View History

2021-10-15 14:08:27 +00:00
FROM ubuntu:20.04
COPY supervisord.conf /etc/supervisord.conf
RUN apt update && apt install -y python3.8 python3-pip supervisor
RUN mkdir -p ./service
COPY requirements.txt ./service/requirements.txt
RUN cd ./service && pip3 install -r requirements.txt
EXPOSE 80/tcp
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]