Skip to content

Commit

Permalink
fix(docker): exec command in docker-entrypoint.sh (#80)
Browse files Browse the repository at this point in the history
Co-authored-by: Matilda Montgomery Horger <[email protected]>
Co-authored-by: Gareth Flowers <[email protected]>
  • Loading branch information
3 people authored Dec 8, 2024
1 parent 438de76 commit 255372f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@ COPY [ "/src/vsftpd.conf", "/etc" ]
COPY [ "/src/docker-entrypoint.sh", "/" ]

ENTRYPOINT [ "/docker-entrypoint.sh" ]
CMD [ "/usr/sbin/vsftpd" ]
EXPOSE 20/tcp 21/tcp 40000-40009/tcp
HEALTHCHECK CMD netstat -lnt | grep :21 || exit 1
2 changes: 1 addition & 1 deletion src/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ tail -f /var/log/vsftpd.log | tee /dev/stdout &
touch /var/log/xferlog
tail -f /var/log/xferlog | tee /dev/stdout &

/usr/sbin/vsftpd
exec "$@"

0 comments on commit 255372f

Please sign in to comment.