2022-05-04 23:09:46 +00:00
|
|
|
FROM ubuntu:20.04
|
|
|
|
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
|
2022-08-25 13:14:56 +00:00
|
|
|
RUN apt update && apt -y upgrade && apt install -y supervisor python3-pip libenchant1c2a ffmpeg postgresql libpq-dev
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
|
|
|
|
COPY requirements.txt /etc/requirements.txt
|
|
|
|
|
|
|
|
RUN pip3 install -r /etc/requirements.txt
|
|
|
|
|
2022-05-22 22:15:29 +00:00
|
|
|
RUN mkdir /images && mkdir /songs && mkdir /videos && mkdir /audio
|
2022-05-04 23:09:46 +00:00
|
|
|
|
|
|
|
EXPOSE 80/tcp
|
|
|
|
|
|
|
|
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]
|