Star on GitHub - 5.8k

Prebuild

Prevent .env files from being built into your docker containers.

Usage

Add it to your Dockerfile.

# Dockerfile
RUN curl -fsS https://dotenvx.sh | sh

...

RUN dotenvx prebuild
CMD ["dotenvx", "run", "--", "node", "index.js"]