I am new to Docker space.
I need some assistance here and my dockerfile code is below
This code is working fine but the password for DB I am passing is not correct, they want
to do give the password secretly, so people don’t know the password whoever will see the dockerfile.
How can I pass the password correctly?
FROM postgres:12 ENV POSTGRES_PASSWORD Welcome123 ENV POSTGRES_DB POSTGRESDB ENV POSTGRES_USER postgres COPY ./Scripts /docker-entrypoint-initdb.d/
Source: Docker Questions