16 lines
444 B
Docker
16 lines
444 B
Docker
FROM alpine:latest
|
|
|
|
RUN \
|
|
apk --no-cache upgrade && \
|
|
apk --no-cache 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 && \
|
|
mkdir -p /var/run/proftpd /etc/proftpd/custom.conf.d/
|
|
|
|
COPY rootfs /
|
|
|
|
HEALTHCHECK --interval=2m --timeout=3s \
|
|
CMD /app/healthcheck.sh || exit 1
|
|
|
|
ENTRYPOINT ["/app/entrypoint.sh"]
|