diff options
| author | Henrik Bierbum Bacher <Bacher@gmail.com> | 2022-12-05 18:27:58 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-05 09:27:58 -0800 |
| commit | 1744e209522284aab3794613f08c08b47bff32b9 (patch) | |
| tree | b583d4897760cd675fd7cb9bb7523144c8ff84da /Dockerfile | |
| parent | 31203ca412462e6814fe6d292a7d9d40cdc5e766 (diff) | |
Use official node image (#257)
* Use official node image
Use the official node which relies on a more recent version of alpine, the mhart image uses 3.11 which is end of life as of 7 months ago
* Update Dockerfile
* Update dependencies to run without openssl lgeacy workaround
* Update line endings to fix prettier warnings
Diffstat (limited to 'Dockerfile')
| -rw-r--r-- | Dockerfile | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1,10 +1,10 @@ | |||
| 1 | FROM mhart/alpine-node:14 as builder | 1 | FROM node:18-alpine as builder |
| 2 | 2 | ||
| 3 | WORKDIR /tmp | 3 | WORKDIR /tmp |
| 4 | COPY . . | 4 | COPY . . |
| 5 | 5 | ||
| 6 | RUN npx prettier --check ./src | 6 | RUN npx prettier --check ./src |
| 7 | RUN yarn && yarn build | 7 | RUN yarn && yarn build |
| 8 | 8 | ||
| 9 | ### | 9 | ### |
| 10 | # production image | 10 | # production image |
