docker-ftp-server/Dockerfile
dependabot[bot] ae9debad97
chore(deps): bump alpine from 3.15.0 to 3.15.4 (#17)
Bumps alpine from 3.15.0 to 3.15.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>
Co-authored-by: Gareth Flowers <garethflowers@users.noreply.github.com>
2022-05-01 22:15:24 +01:00

16 lines
362 B
Docker

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