Skip to content

Commit

Permalink
fix(cli): conditional copying of yarn.lock
Browse files Browse the repository at this point in the history
  • Loading branch information
JonasSchatz committed Mar 30, 2023
1 parent bf130b5 commit 4e634bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/templates/init/Dockerfile.hbs
Expand Up @@ -19,7 +19,7 @@ ARG NODE_VERSION=16.13.1
FROM node:${NODE_VERSION}-alpine as build
WORKDIR /opt

COPY package.json yarn.lock tsconfig.json tsconfig.compile.json .barrelsby.json ./
COPY package.json {{#if yarn}}yarn.lock {{/if}}tsconfig.json tsconfig.compile.json .barrelsby.json ./

RUN yarn install --pure-lockfile
{{#if yarn}}
Expand Down

0 comments on commit 4e634bd

Please sign in to comment.