docker-ftps/Dockerfile
Paolo Asperti 8289114ee6
All checks were successful
continuous-integration/drone/push Build is passing
sql auth and healthcheck
2024-02-11 21:09:40 +01:00

15 lines
404 B
Docker

FROM alpine:latest
RUN \
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 && \
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"]