forked from MarseyWorld/MarseyWorld
18 lines
464 B
Docker
18 lines
464 B
Docker
FROM ubuntu:22.04
|
|
|
|
ARG DEBIAN_FRONTEND=noninteractive
|
|
|
|
RUN apt update && apt -y upgrade && apt install -y supervisor python3-pip ffmpeg postgresql libpq-dev
|
|
|
|
COPY supervisord.conf /etc/supervisord.conf
|
|
|
|
COPY requirements.txt /etc/requirements.txt
|
|
|
|
RUN pip3 install -r /etc/requirements.txt
|
|
|
|
RUN mkdir /images && mkdir /songs && mkdir /videos && mkdir /audio && mkdir /asset_submissions
|
|
|
|
EXPOSE 80/tcp
|
|
|
|
CMD [ "/usr/bin/supervisord", "-c", "/etc/supervisord.conf" ]
|