Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Set NODE_ENV=production; do not run grunt release
Browse files Browse the repository at this point in the history
  • Loading branch information
francoilol committed May 28, 2018
1 parent 27a1700 commit b0d2ced
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:6 AS builder

ENV ENV_NODE=production

RUN groupadd --gid 1100 lisk && \
useradd --create-home --home-dir /home/lisk --shell /bin/bash --uid 1100 --gid 1100 lisk
# As of Mai 2018 cloud.docker.com runs docker 17.06.1-ce
Expand All @@ -11,13 +13,13 @@ USER lisk
WORKDIR /home/lisk/lisk

RUN npm install
RUN ./node_modules/.bin/grunt release


FROM node:6

ENV CONFD_VERSION 0.16.0
ENV CONFD_SHA256 255d2559f3824dd64df059bdc533fd6b697c070db603c76aaf8d1d5e6b0cc334
ENV ENV_NODE=production

RUN groupadd --gid 1100 lisk && \
useradd --create-home --home-dir /home/lisk --shell /bin/bash --uid 1100 --gid 1100 lisk
Expand Down

0 comments on commit b0d2ced

Please sign in to comment.