It is not optimal to store credentials directly in the docker-file. Use [Docker secrets](https://www.docker.com/blog/docker-secrets-management/) instead.