add ftp server

This commit is contained in:
2026-09-02 09:38:01 +02:00
parent 0b94ba1b85
commit cf4e0f47d0
20 changed files with 411 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
vsftpd \
&& rm -rf /var/lib/apt/lists/*
COPY conf/vsftpd.conf /etc/vsftpd.conf
COPY tools/entrypoint.sh /usr/local/bin/entrypoint.sh
RUN echo "/usr/sbin/nologin" >> /etc/shells \
&& chmod +x /usr/local/bin/entrypoint.sh
EXPOSE 21 21100-21110
ENTRYPOINT ["entrypoint.sh"]