vsftpd/Dockerfile

16 lines
282 B
Docker

FROM registry.sindominio.net/debian
RUN apt -y update && \
apt install -y vsftpd rsyslog
COPY vsftpd.conf /etc/vsftpd.conf
RUN mkdir -p /var/run/vsftpd/empty
RUN mkdir /home/ftp
ADD entrypoint.sh /
ENTRYPOINT [ "/bin/sh", "/entrypoint.sh" ]
CMD ["/usr/sbin/vsftpd"]
EXPOSE 21