aboutsummaryrefslogtreecommitdiffstats
path: root/Dockerfile
diff options
context:
space:
mode:
authorHenrik Bierbum Bacher <Bacher@gmail.com>2022-12-05 18:27:58 +0100
committerGitHub <noreply@github.com>2022-12-05 09:27:58 -0800
commit1744e209522284aab3794613f08c08b47bff32b9 (patch)
treeb583d4897760cd675fd7cb9bb7523144c8ff84da /Dockerfile
parent31203ca412462e6814fe6d292a7d9d40cdc5e766 (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--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index 91bc3af..181bc7a 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,10 +1,10 @@
1FROM mhart/alpine-node:14 as builder 1FROM node:18-alpine as builder
2 2
3WORKDIR /tmp 3WORKDIR /tmp
4COPY . . 4COPY . .
5 5
6RUN npx prettier --check ./src 6RUN npx prettier --check ./src
7RUN yarn && yarn build 7RUN yarn && yarn build
8 8
9### 9###
10# production image 10# production image