MarseyWorld/Dockerfile

55 lines
1.3 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
RUN apt install -y software-properties-common
2023-07-05 21:59:26 +00:00
RUN apt install -y sudo
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
2024-10-14 14:56:33 +00:00
RUN apt install -y exiv2
2023-01-28 14:41:37 +00:00
COPY requirements.txt /requirements.txt
2023-07-26 23:33:00 +00:00
COPY scripts/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/art
RUN mkdir /asset_submissions/emojis
RUN mkdir /asset_submissions/hats
RUN mkdir /asset_submissions/art/original
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-07-07 00:25:23 +00:00
RUN apt install -y wget
2023-08-04 17:52:54 +00:00
RUN apt -y update
RUN apt upgrade -y cmake
RUN t=$(mktemp) && wget 'https://dist.1-2.dev/imei.sh' -qO "$t" && bash "$t" && rm "$t"
EXPOSE 80/tcp
2022-10-04 01:06:57 +00:00
2024-03-04 19:46:32 +00:00
RUN ln -sf /bin/bash /bin/sh
CMD [ "/usr/bin/supervisord", "-c", "/d/supervisord.conf" ]