From 31041ae59199f20abb97027f3e491e4f0be359db Mon Sep 17 00:00:00 2001 From: Alex Luker Date: Tue, 15 Oct 2024 12:07:21 +0100 Subject: [PATCH] and g it and ssh to try and fix build --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3609355..db8b855 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:19-alpine +FROM node:18-alpine ARG SHOPIFY_API_KEY ENV SHOPIFY_API_KEY=$SHOPIFY_API_KEY @@ -8,6 +8,7 @@ WORKDIR /app COPY web . RUN apk update && apk upgrade && \ apk add --no-cache bash git openssh +RUN ssh-keyscan github.com >> etc/ssh/known_hosts RUN yarn RUN cd frontend && yarn && yarn run build CMD ["yarn", "run", "serve"]