Skip to content

Commit

Permalink
Docker version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
alexswilliams committed Nov 7, 2022
1 parent dec0b16 commit 8e6b558
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.12.1
18.12.0
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
FROM node:16.11.1-alpine3.14 as builder
FROM node:18.12.0-alpine3.16 as builder
WORKDIR /app/

COPY ./package.json ./package-lock.json ./.npmrc ./.npmignore /app/
RUN npm ci

COPY . /app/
RUN npx esbuild --bundle --minify --outfile=./out/index.js --platform=node --sourcemap --target=node16 ./src/index.ts
RUN npx esbuild --bundle --minify --outfile=./out/index.js --platform=node --sourcemap --target=node18 ./src/index.ts


FROM node:16.11.1-alpine3.14 as runner
FROM node:18.12.0-alpine3.16 as runner
WORKDIR /app/

COPY --from=builder /app/out/index.* /app/
Expand Down

0 comments on commit 8e6b558

Please sign in to comment.