generated from hackforla/.github-hackforla-base-repo-template
-
-
Notifications
You must be signed in to change notification settings - Fork 79
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1434 from Spiteless/ts.vite-update-ghaction
fix: Swap to node:18.alpine, remove 'npm i- g npm'
- Loading branch information
Showing
3 changed files
with
3 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM node:18.12.0 AS client-development | ||
FROM node:18-alpine AS client-development | ||
RUN mkdir /srv/client && chown node:node /srv/client | ||
WORKDIR /srv/client | ||
USER node | ||
RUN mkdir -p node_modules | ||
COPY --chown=node:node package.json package.json ./ | ||
RUN npm install -g [email protected] | ||
RUN npm install --silent | ||
|
||
FROM node:18.12.0-slim AS client-builder | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
FROM node:18.12.0 AS client-development | ||
FROM node:18-alpine AS client-development | ||
RUN mkdir /srv/client && chown node:node /srv/client | ||
WORKDIR /srv/client | ||
USER node | ||
RUN mkdir -p node_modules | ||
COPY --chown=node:node package.json package.json ./ | ||
RUN npm install -g [email protected] | ||
RUN npm install --silent |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
FROM node:18.12.0 AS node-modules-install | ||
FROM node:18-alpine AS node-modules-install | ||
RUN mkdir /srv/client && chown node:node /srv/client | ||
WORKDIR /srv/client | ||
USER node | ||
RUN mkdir -p node_modules | ||
COPY --chown=node:node package.json package.json ./ | ||
RUN npm install -g [email protected] | ||
RUN npm install --silent | ||
|
||
FROM node:18.12.0-slim AS client-builder | ||
|