docker-ftp-server/Dockerfile
dependabot[bot] 2972d47b3a
chore(deps): bump alpine from 3.18.3 to 3.18.4 (#65)
Bumps alpine from 3.18.3 to 3.18.4.

---
updated-dependencies:
- dependency-name: alpine
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-30 17:11:01 +01:00

15 lines
335 B
Docker

FROM alpine:3.18.4
ENV FTP_USER=foo \
FTP_PASS=bar \
GID=1000 \
UID=1000
RUN apk add --no-cache --update \
vsftpd==3.0.5-r2
COPY [ "/src/vsftpd.conf", "/etc" ]
COPY [ "/src/docker-entrypoint.sh", "/" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1