Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM node:iron-bookworm AS builder

ARG PKG_VERSION
ARG GITHUB_TOKEN
# ARG GITHUB_TOKEN

WORKDIR /tmp

Expand All @@ -11,10 +11,10 @@ COPY package.json .

COPY . .

# Set GitHub npm registry with authentication token
RUN sed -i.back "s|PAT|${GITHUB_TOKEN}|g" .npmrc
# # Set GitHub npm registry with authentication token
# RUN sed -i.back "s|PAT|${GITHUB_TOKEN}|g" .npmrc

RUN npm config set @datasance:registry https://npm.pkg.github.com/
# RUN npm config set @datasance:registry https://npm.pkg.github.com/

RUN npm i --build-from-source --force

Expand Down
Loading
Loading