/ Search - type / Modes - type M Star on GitHub - 5.7k

CLI

Prebuild

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

Watch demo →

Usage

Add it to your Dockerfile.

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

...

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