Skip to content

Commit

Permalink
change env from production to development
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Kramer committed Jul 30, 2024
1 parent f4ec9eb commit 467f773
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ services:
build:
context: .
environment:
NODE_ENV: production
NODE_ENV: development
ports:
- 8089:8089

0 comments on commit 467f773

Please sign in to comment.