forked from mirrors/amnezia-wg-easy
Updates: Dockerfile and npm packages (#57)
- manage node updates via major version - get rid of checksum to always pull latest node.js image - npm package updates
This commit is contained in:
parent
3202b868b8
commit
a1a132e25f
3 changed files with 52 additions and 52 deletions
|
@ -1,7 +1,7 @@
|
|||
# There's an issue with node:20-alpine.
|
||||
# Docker deployment is canceled after 25< minutes.
|
||||
|
||||
FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2 AS build_node_modules
|
||||
FROM docker.io/library/node:18-alpine AS build_node_modules
|
||||
|
||||
# Hide fund and update-notifier message
|
||||
RUN npm config set -g fund false &&\
|
||||
|
@ -13,7 +13,7 @@ WORKDIR /app
|
|||
RUN npm ci
|
||||
# Copy build result to a new image.
|
||||
# This saves a lot of disk space.
|
||||
FROM docker.io/library/node:18-alpine@sha256:b1a0356f7d6b86c958a06949d3db3f7fb27f95f627aa6157cb98bc65c801efa2
|
||||
FROM docker.io/library/node:18-alpine
|
||||
|
||||
# Hide fund and update-notifier message
|
||||
RUN npm config set -g fund false &&\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue