Skip to content

Commit 1e8fcc0

Browse files
committed
Move to node:current-alpine docker builder
to ensure node works with the openssl version: ` > [builder 5/5] RUN echo "VITE_API_HOSTNAME=/" > .env.local && npm i && npm run build: 0.055 Error relocating /usr/bin/node: EVP_MD_CTX_get_size_ex: symbol not found ------ Dockerfile:9 -------------------- 8 | 9 | >>> RUN echo "VITE_API_HOSTNAME=${VITE_API_HOSTNAME}" > .env.local && \ 10 | >>> npm i && \ 11 | >>> npm run build 12 | -------------------- ERROR: failed to solve: process "/bin/sh -c echo \"VITE_API_HOSTNAME=${VITE_API_HOSTNAME}\" > .env.local && npm i && npm run build" did not complete successfully: exit code: 127`
1 parent 676879d commit 1e8fcc0

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
1-
FROM docker.io/library/alpine:edge AS builder
1+
FROM docker.io/library/node:current-alpine AS builder
22
ARG VITE_API_HOSTNAME
33

4-
RUN apk add --no-cache nodejs-current npm
5-
64
WORKDIR /src
75
COPY . .
86

0 commit comments

Comments
 (0)