Skip to content

Commit

Permalink
Merge pull request #36 from Dcard/docs/node-18
Browse files Browse the repository at this point in the history
docs(docker-build): use node:18 in examples
  • Loading branch information
chentsulin authored Nov 18, 2022
2 parents 7126887 + c7f80cb commit 8b89a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/docker-build/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ yarn plugin import https://github.com/Dcard/yarn-plugins/releases/latest/downloa
The following is a basic example of `Dockerfile`.

```dockerfile
FROM node:12-alpine AS builder
FROM node:18-alpine AS builder

# Install dependencies for building native libraries
RUN apk add --update git openssh-client python make gcc g++
Expand All @@ -30,7 +30,7 @@ RUN yarn install --immutable
# You can delete the cache folder after `yarn install` is done.
RUN rm -rf .yarn/cache

FROM node:12-alpine
FROM node:18-alpine

WORKDIR /workspace

Expand Down

0 comments on commit 8b89a15

Please sign in to comment.