inception/srcs/requirements/ftp/Dockerfile
Danny Houtworm 5dee77a74c bla
2023-08-10 10:12:21 +00:00

13 lines
280 B
Docker

FROM alpine
RUN sleep 10
RUN apk update
RUN apk add openssl
RUN apk add pure-ftpd
WORKDIR /root/
COPY srcs/pure-ftpd.conf /etc/pure-ftp.conf
RUN adduser --disabled-password admin
RUN echo "admin:password" | chpasswd
CMD pure-ftpd /etc/pure-ftp.conf
EXPOSE 21/tcp
EXPOSE 21000/tcp