fix(docker): expose tcp ports only

This commit is contained in:
Gareth Flowers 2020-09-06 23:57:45 +01:00
parent 4a55af62dd
commit 86d2984d6a

View file

@ -18,6 +18,5 @@ COPY [ "/src/docker-entrypoint.sh", "/" ]
CMD [ "/usr/sbin/vsftpd" ]
ENTRYPOINT [ "/docker-entrypoint.sh" ]
EXPOSE 20
EXPOSE 21
EXPOSE 20/tcp 21/tcp
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1