8 lines
354 B
Docker
8 lines
354 B
Docker
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"]
|