Skip to content

chore: use NODE_ENV production in dockerfile#1104

Open
nicolaskempf57 wants to merge 1 commit into
mainfrom
chore/production-env-in-docker
Open

chore: use NODE_ENV production in dockerfile#1104
nicolaskempf57 wants to merge 1 commit into
mainfrom
chore/production-env-in-docker

Conversation

@nicolaskempf57
Copy link
Copy Markdown
Contributor

@nicolaskempf57 nicolaskempf57 commented May 29, 2026

I was looking at datagouv/data.gouv.fr#2015 and the vue-router logic.
vue-router source code is easily readable and everywhere I found that the warn are wrapped around "dev" checks.

I try to reproduce locally in dev mode, got the warnings, and with preview.
And I didn't get any warning at all in preview.

It turns out that the preview script is adding the env somewhere, but it's not done in our Dockerfile as it should be.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant