From 467f7739b16ffb59bfb0c415ea8976998d0a606b Mon Sep 17 00:00:00 2001 From: Justin Kramer Date: Tue, 30 Jul 2024 13:14:20 -0400 Subject: [PATCH] change env from production to development --- Dockerfile | 2 +- README.md | 2 +- docker-compose.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8bc14b9..267843a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,7 +5,7 @@ ARG NODE_VERSION=16.0.0 FROM node:${NODE_VERSION}-alpine # Use production node environment by default -ENV NODE_ENV production +ENV NODE_ENV development #Install some dependencies WORKDIR /usr/app diff --git a/README.md b/README.md index 2311680..659f1c6 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ It can be run locally as a node app (node.js version 7+) by running: 1. `npm install` -2. `NODE_ENV=production webpack --mode production` +2. `NODE_ENV=development ./node_modules/.bin/webpackwebpack --mode development` ### Run with Docker ### It can also be run on Docker by running: diff --git a/docker-compose.yml b/docker-compose.yml index a64f34f..d9311e2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,6 @@ services: build: context: . environment: - NODE_ENV: production + NODE_ENV: development ports: - 8089:8089 \ No newline at end of file