2024-01-23 17:15:08 +01:00
|
|
|
FROM alpine:latest
|
2019-05-18 00:41:50 +02:00
|
|
|
|
|
|
|
RUN \
|
2024-02-11 21:09:40 +01: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 16:07:38 +02:00
|
|
|
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/
|
2019-05-18 00:41:50 +02:00
|
|
|
|
2024-01-23 17:15:08 +01:00
|
|
|
COPY rootfs /
|
2019-05-18 00:41:50 +02:00
|
|
|
|
2024-02-11 21:09:40 +01:00
|
|
|
HEALTHCHECK --interval=2m --timeout=3s \
|
|
|
|
CMD /app/healthcheck.sh || exit 1
|
|
|
|
|
2024-01-23 17:15:08 +01:00
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|