13 lines
280 B
Docker
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
|