Copy .env.sample to .env on Docker build
This commit is contained in:
@@ -1,5 +1,3 @@
|
|||||||
# image: node:7.10.0
|
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- setup
|
- setup
|
||||||
# - test
|
# - test
|
||||||
|
|||||||
@@ -3,6 +3,8 @@ FROM node:alpine
|
|||||||
RUN apk add --no-cache libpng-dev gcc make g++ zlib-dev bash lcms2-dev autoconf automake libtool nasm
|
RUN apk add --no-cache libpng-dev gcc make g++ zlib-dev bash lcms2-dev autoconf automake libtool nasm
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json ./
|
COPY package.json package-lock.json ./
|
||||||
|
COPY .env.sample .env
|
||||||
|
RUN source .env
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|||||||
Reference in New Issue
Block a user