mirror of
https://github.com/dumbasPL/deluge-windscribe-ephemeral-port.git
synced 2024-09-19 20:51:06 +02:00
bump nodejs version to 18 in Dockerfile
This commit is contained in:
parent
78b88882cc
commit
965dd4dd63
1 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,4 @@
|
||||||
FROM node:16-alpine as build
|
FROM node:18-alpine as build
|
||||||
|
|
||||||
WORKDIR /builder
|
WORKDIR /builder
|
||||||
|
|
||||||
|
@ -10,7 +10,7 @@ COPY . .
|
||||||
|
|
||||||
RUN yarn build
|
RUN yarn build
|
||||||
|
|
||||||
FROM node:16-alpine
|
FROM node:18-alpine
|
||||||
|
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
ENV PORT=3000
|
ENV PORT=3000
|
||||||
|
@ -28,4 +28,4 @@ COPY --from=build /builder/dist ./dist
|
||||||
|
|
||||||
EXPOSE ${PORT}
|
EXPOSE ${PORT}
|
||||||
|
|
||||||
CMD [ "node", "dist/index.js" ]
|
CMD [ "node", "dist/index.js" ]
|
||||||
|
|
Loading…
Reference in a new issue