Browse Source

feat: npm install on build

pull/44/head
Daniel Gibbs 1 year ago
parent
commit
97a6583dd5
No known key found for this signature in database GPG Key ID: 2076B128385E8C55
  1. 5
      Dockerfile.ubuntu-1804
  2. 5
      Dockerfile.ubuntu-2004
  3. 5
      Dockerfile.ubuntu-2204

5
Dockerfile.ubuntu-1804

@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig # Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install 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 WORKDIR /app

5
Dockerfile.ubuntu-2004

@ -88,7 +88,10 @@ RUN echo "**** Install Node.js ****" \
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig # Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install 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 WORKDIR /app

5
Dockerfile.ubuntu-2204

@ -89,7 +89,10 @@ RUN echo "**** Install Node.js ****" \
# Install GameDig https://docs.linuxgsm.com/requirements/gamedig # Install GameDig https://docs.linuxgsm.com/requirements/gamedig
RUN echo "**** Install 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 WORKDIR /app

Loading…
Cancel
Save