docker-ftps/Dockerfile

16 lines
444 B
Docker
Raw Normal View History

2024-01-23 16:15:08 +00:00
FROM alpine:latest
2019-05-17 22:41:50 +00:00
RUN \
2024-06-16 14:21:32 +00:00
apk --no-cache upgrade && \
apk --no-cache add proftpd proftpd-mod_tls proftpd-mod_ifsession \
2024-02-11 20:09:40 +00:00
proftpd-mod_deflate proftpd-mod_geoip proftpd-mod_sql_sqlite \
proftpd-utils openssl perl acme.sh lftp sqlite && \
2020-08-12 14:07:38 +00:00
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/
2019-05-17 22:41:50 +00:00
2024-01-23 16:15:08 +00:00
COPY rootfs /
2019-05-17 22:41:50 +00:00
2024-02-11 20:09:40 +00:00
HEALTHCHECK --interval=2m --timeout=3s \
CMD /app/healthcheck.sh || exit 1
2024-01-23 16:15:08 +00:00
ENTRYPOINT ["/app/entrypoint.sh"]