Skip to content

Commit

Permalink
fix(docker): fix NODE ENV on build 🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreBrisorgueil committed Jun 15, 2020
1 parent 94123e7 commit 09fc80c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ ARG WAOS_VUE_cookie='waos'
COPY package*.json ./
RUN npm install
COPY . .
RUN npm run build
RUN NODE_ENV=$NODE_ENV npm run build

# prod step
FROM nginx:stable-alpine as production-stage
Expand Down

0 comments on commit 09fc80c

Please sign in to comment.