Skip to content

Commit

Permalink
Merge pull request #427 from cloudnativedaysjp/update_node_18
Browse files Browse the repository at this point in the history
Node 18
  • Loading branch information
takaishi authored May 17, 2023
2 parents 750d2e4 + ea8ee6a commit 5a66353
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.20.0
18.16.0
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# syntax = docker/dockerfile:1.4

FROM node:16.20.0-alpine AS base
FROM node:18.16.0-alpine AS base
WORKDIR /base
COPY --link package.json yarn.lock ./
RUN --mount=type=cache,target=/tmp/yarn_cache \
YARN_CACHE_FOLDER=/tmp/yarn_cache \
yarn install

FROM node:16.20.0-alpine
FROM node:18.16.0-alpine
WORKDIR /base
COPY --link --from=base /base ./
COPY --link . .
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile-static
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.20.0-alpine3.16 AS base
FROM node:18.16.0-alpine3.16 AS base
WORKDIR /base
COPY package*.json ./
RUN npm install
Expand Down

0 comments on commit 5a66353

Please sign in to comment.