Skip to content

Commit

Permalink
and g it and ssh to try and fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
ajluker committed Oct 15, 2024
1 parent 45203ee commit 8578b74
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
FROM node:18-alpine3.19
FROM node:18-alpine

ARG SHOPIFY_API_KEY
ENV SHOPIFY_API_KEY=$SHOPIFY_API_KEY

EXPOSE 8081
WORKDIR /app
COPY web .
RUN apk --no-cache add --no-check-certificate ca-certificates \
&& update-ca-certificates
RUN apk add --no-cache git openssh
RUN ssh-keyscan github.com >> ~/.ssh/known_hosts
RUN yarn
RUN cd frontend && yarn && yarn run build
CMD ["yarn", "run", "serve"]

0 comments on commit 8578b74

Please sign in to comment.