Initial commit

This commit is contained in:
Rayhan Hanaputra
2025-10-10 22:18:06 +07:00
committed by GitHub
commit ea02892f14
1246 changed files with 289342 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
FROM public.ecr.aws/docker/library/python:3.11-slim-buster
ARG PASSWORD
WORKDIR /opt
RUN apt-get update
RUN apt-get install -y nano openssh-server curl
RUN echo root:${PASSWORD} | chpasswd
RUN echo "PasswordAuthentication yes" >> /etc/ssh/sshd_config
RUN echo "PermitRootLogin yes" >> /etc/ssh/sshd_config
RUN service ssh start
COPY src/ .
RUN mkdir -p uploads/
RUN pip install -r requirements.txt
RUN chmod +x ./start.sh
EXPOSE 80
EXPOSE 22
CMD ./start.sh