changed Dockerfile to build on node:20-bookworm and ship on node:20-alpine,
sadly this drops support for arm/v6
This commit is contained in:
1 parent
62b67376c1
commit
d2a608e4b2
2 files changed
+3
-4
No files matched your search
+2
-3
@@ -1,4 +1,4 @@
|
||||
FROM node:18-alpine3.19 as builder
|
||||
FROM node:20-bookworm as builder
|
||||
|
||||
USER node
|
||||
RUN mkdir -p /home/node/app
|
||||
@@ -15,8 +15,7 @@ ENV NODE_ENV=production
|
||||
RUN yarn --production --frozen-lockfile
|
||||
RUN yarn cache clean
|
||||
|
||||
|
||||
FROM node:18-alpine3.19 as final
|
||||
FROM node:20-alpine as final
|
||||
|
||||
USER node
|
||||
RUN mkdir -p /home/node/app
|
||||
|
||||
Reference in new issue
Block a user