fix(docker): removes CMD entry to run vsftpd (#63)
This commit is contained in:
parent
5e2d5a7beb
commit
0143484a9a
2 changed files with 1 additions and 2 deletions
|
@ -10,7 +10,6 @@ RUN apk add --no-cache --update \
|
||||||
COPY [ "/src/vsftpd.conf", "/etc" ]
|
COPY [ "/src/vsftpd.conf", "/etc" ]
|
||||||
COPY [ "/src/docker-entrypoint.sh", "/" ]
|
COPY [ "/src/docker-entrypoint.sh", "/" ]
|
||||||
|
|
||||||
CMD [ "/usr/sbin/vsftpd" ]
|
|
||||||
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
ENTRYPOINT [ "/docker-entrypoint.sh" ]
|
||||||
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
|
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
|
||||||
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1
|
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1
|
||||||
|
|
|
@ -22,4 +22,4 @@ tail -f /var/log/vsftpd.log | tee /dev/stdout &
|
||||||
touch /var/log/xferlog
|
touch /var/log/xferlog
|
||||||
tail -f /var/log/xferlog | tee /dev/stdout &
|
tail -f /var/log/xferlog | tee /dev/stdout &
|
||||||
|
|
||||||
exec "$@"
|
/usr/sbin/vsftpd
|
||||||
|
|
Loading…
Reference in a new issue