Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
jlarsson committed Nov 15, 2022
2 parents 962c855 + 099d567 commit 67b0ed4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
@helsingborg-stad:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_ACCESS_TOKEN}
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ ARG GITHUB_ACCESS_TOKEN

WORKDIR /usr/src/app

COPY yarn.lock tsconfig.json package*.json .npmrc *.yml ./
COPY yarn.lock tsconfig.json package*.json *.yml ./
COPY deploy.npmrc ./.npmrc
COPY src ./src

RUN yarn install && yarn build
Expand All @@ -18,7 +19,7 @@ ARG GITHUB_ACCESS_TOKEN

WORKDIR /deps

COPY .npmrc .
COPY deploy.npmrc .npmrc
COPY package.json .
COPY yarn.lock .
RUN yarn install --production --ignore-optional
Expand Down
2 changes: 2 additions & 0 deletions deploy.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@helsingborg-stad:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GITHUB_ACCESS_TOKEN}

0 comments on commit 67b0ed4

Please sign in to comment.