From 86d2984d6a1aee1df30c7b865e978c53f7ec1865 Mon Sep 17 00:00:00 2001 From: Gareth Flowers Date: Sun, 6 Sep 2020 23:57:45 +0100 Subject: [PATCH] fix(docker): expose tcp ports only --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9511d92..a2d0043 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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