Initial commit
This commit is contained in:
20
Dockerfile.deps
Normal file
20
Dockerfile.deps
Normal file
@@ -0,0 +1,20 @@
|
||||
# syntax=docker/dockerfile:1.4
|
||||
# Heavy layer: yarn install. Rebuild only when yarn.lock changes.
|
||||
# docker build -f Dockerfile.deps -t custom/gereh-deps:1 .
|
||||
FROM node:12.13.1
|
||||
|
||||
WORKDIR /home/node
|
||||
|
||||
RUN npm config set strict-ssl false \
|
||||
&& yarn config set strict-ssl false \
|
||||
&& yarn config set network-timeout 600000
|
||||
|
||||
RUN npm i -g yarn
|
||||
|
||||
COPY package.json yarn.lock ./
|
||||
|
||||
ENV CYPRESS_INSTALL_BINARY=0
|
||||
|
||||
USER node
|
||||
|
||||
RUN mkdir -p /home/node/.cache/yarn && yarn install --frozen-lockfile --network-timeout 600000 --non-interactive --verbose
|
||||
Reference in New Issue
Block a user