fix(docker): removes CMD entry to run vsftpd (#63)

This commit is contained in:
Gareth Flowers 2023-09-25 17:01:35 +01:00 committed by GitHub
parent 5e2d5a7beb
commit 0143484a9a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View file

@ -10,7 +10,6 @@ RUN apk add --no-cache --update \
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

View file

@ -22,4 +22,4 @@ tail -f /var/log/vsftpd.log | tee /dev/stdout &
touch /var/log/xferlog
tail -f /var/log/xferlog | tee /dev/stdout &
exec "$@"
/usr/sbin/vsftpd