proftpd/Dockerfile

8 lines
354 B
Docker
Raw Permalink Normal View History

2024-11-22 22:18:09 -06:00
FROM debian:bullseye-slim
RUN apt update && apt install -y proftpd && apt clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN sed -i "s/# DefaultRoot/DefaultRoot /" /etc/proftpd/proftpd.conf
EXPOSE 20 21
ADD docker-entrypoint.sh /usr/local/sbin/docker-entrypoint.sh
ENTRYPOINT ["/usr/local/sbin/docker-entrypoint.sh"]
CMD ["proftpd","--nodaemon"]