Skip to content

Commit

Permalink
Trying to fix env var issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Javier Tarazaga committed Jan 23, 2020
1 parent e4e482d commit 1301f8d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ RUN npx lerna bootstrap --hoist
# Bundle app source
COPY . .

RUN npm run inject-env-variables

RUN npm run $BUILD

EXPOSE 80
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"build:server": "NODE_OPTIONS=\"--max-old-space-size=4096\" lerna run build --scope web-server --stream && gulp",
"build:clean": "lerna run build:clean --scope editor && lerna run build:clean --scope web-server && rimraf www",
"start": "lerna run start --scope editor --stream",
"start:prod": "node www/api/app.js",
"start:prod": "npm run inject-env-variables && node www/api/app.js",
"lint": "lerna run lint",
"typecheck": "lerna run typecheck --scope editor && lerna run typecheck --scope web-server",
"inject-env-variables": "lerna run inject-env-variables"
Expand Down

0 comments on commit 1301f8d

Please sign in to comment.