vsftpd/Dockerfile

16 lines
282 B
Docker
Raw Normal View History

2022-02-26 18:32:23 +01:00
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