Skip to content

Commit

Permalink
feat: npm install on build
Browse files Browse the repository at this point in the history
  • Loading branch information
dgibbs64 committed Feb 17, 2024
1 parent d89c9fe commit 97a6583
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile.ubuntu-1804
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \

# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig
&& npm install -g [email protected]
WORKDIR /app/lgsm \
wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \
&& npm install

WORKDIR /app

Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.ubuntu-2004
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \

# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig
&& npm install -g [email protected]
WORKDIR /app/lgsm \
wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \
&& npm install

WORKDIR /app

Expand Down
5 changes: 4 additions & 1 deletion Dockerfile.ubuntu-2204
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,10 @@ RUN echo "**** Install Node.js ****" \

# Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install GameDig ****" \
&& npm install -g gamedig
&& npm install -g [email protected]
WORKDIR /app/lgsm \
wget -N --no-check-certificate "https://raw.githubusercontent.com/GameServerManagers/LinuxGSM/${LGSM_GITHUBBRANCH}/package.json" \
&& npm install

WORKDIR /app

Expand Down

0 comments on commit 97a6583

Please sign in to comment.