MarseyWorld/Dockerfile

47 lines
1.0 KiB
Docker
Raw Normal View History

2022-09-07 05:51:05 +00:00
FROM ubuntu:22.04
2022-05-04 23:09:46 +00:00
ARG DEBIAN_FRONTEND=noninteractive
2022-05-04 23:09:46 +00:00
2023-02-22 06:40:04 +00:00
RUN apt -y update
RUN apt -y upgrade
2023-02-22 06:40:04 +00:00
RUN apt -y autoremove
2023-01-01 11:36:20 +00:00
RUN apt install -y supervisor
RUN apt install -y python3-pip
RUN apt install -y ffmpeg
RUN apt install -y postgresql
RUN apt install -y libpq-dev
2022-10-04 19:48:52 +00:00
RUN apt install -y nano
2023-01-21 00:19:07 +00:00
RUN apt install -y mailutils
2023-01-28 14:41:37 +00:00
COPY requirements.txt /requirements.txt
COPY startup_docker_chat.sh /s
2023-01-28 14:41:37 +00:00
RUN pip3 install -r /requirements.txt
2022-05-04 23:09:46 +00:00
RUN mkdir /images
2023-01-21 10:36:21 +00:00
RUN mkdir /chat_images
2023-05-12 15:27:46 +00:00
RUN mkdir /dm_media
RUN mkdir /songs
2023-02-10 14:17:22 +00:00
RUN mkdir /temp_songs
RUN mkdir /videos
RUN mkdir /audio
RUN mkdir /asset_submissions
RUN mkdir /asset_submissions/emojis
RUN mkdir /asset_submissions/hats
RUN mkdir /asset_submissions/emojis/original
RUN mkdir /asset_submissions/hats/original
2022-11-30 18:09:31 +00:00
RUN mkdir /var/log/rdrama
2022-10-04 19:48:52 +00:00
RUN apt install -y nginx
RUN rm /etc/nginx/sites-available -r
RUN rm /etc/nginx/sites-enabled/default
RUN mkdir /etc/nginx/includes
2023-01-21 00:19:02 +00:00
RUN apt install -y wget
2022-12-17 18:55:41 +00:00
COPY imei.sh /opt/imei.sh
2022-12-16 21:21:47 +00:00
RUN bash /opt/imei.sh
EXPOSE 80/tcp
2022-10-04 01:06:57 +00:00
2022-10-04 19:48:52 +00:00
CMD [ "/usr/bin/supervisord", "-c", "/rDrama/supervisord.conf" ]