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 -p 21000:21000 -P 127.0.0.1 EXPOSE 21/tcp EXPOSE 20/tcp EXPOSE 21000/tcp