2024-01-23 16:15:08 +00:00
|
|
|
FROM alpine:latest
|
2019-05-17 22:41:50 +00:00
|
|
|
|
|
|
|
RUN \
|
2024-02-11 20:09:40 +00:00
|
|
|
apk -U add proftpd proftpd-mod_tls proftpd-mod_ifsession \
|
|
|
|
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"]
|