-
-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update dependencies, node, postcss
- Loading branch information
Showing
4 changed files
with
1,131 additions
and
953 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,15 +1,15 @@ | ||
FROM node:16.14.2-alpine3.15 as builder | ||
FROM node:16.15.0-alpine3.15 as build-tools | ||
LABEL maintainer="kernoeb <[email protected]>" | ||
|
||
RUN apk add --no-cache curl bash | ||
|
||
# https://github.com/hadolint/hadolint/wiki/DL4006 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
RUN npm install -g pnpm [email protected] | ||
|
||
RUN curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm | ||
FROM build-tools as builder | ||
LABEL maintainer="kernoeb <[email protected]>" | ||
|
||
# https://github.com/duniul/clean-modules | ||
RUN pnpm i -g [email protected] | ||
# https://github.com/hadolint/hadolint/wiki/DL4006 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
WORKDIR /home/node/build | ||
RUN chown -R node:node /home/node/build | ||
|
@@ -25,7 +25,7 @@ COPY --chown=node:node . ./ | |
RUN pnpm install -r --offline | ||
|
||
# Nuxt.js build | ||
RUN pnpm build -- --standalone | ||
RUN pnpm build --standalone | ||
|
||
# Now we remove the node_modules, as we only need production dependencies in the docker image | ||
RUN rm -rf ./node_modules/ | ||
|
@@ -40,7 +40,7 @@ RUN ls node_modules/node-libcurl/lib/binding/ | |
# Clean node_modules, one of the heaviest object in the universe | ||
RUN clean-modules --yes --exclude "**/*.mustache" | ||
|
||
FROM node:16.14.2-alpine3.15 as app | ||
FROM node:16.15.0-alpine3.15 as app | ||
|
||
RUN apk --no-cache add dumb-init curl bash | ||
|
||
|
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
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
Oops, something went wrong.