Skip to content

Commit ad2f5c8

Browse files
committed
try and install git in the docker container
1 parent 3d93243 commit ad2f5c8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ ENV SHOPIFY_API_KEY=$SHOPIFY_API_KEY
66
EXPOSE 8081
77
WORKDIR /app
88
COPY web .
9+
RUN apk update && apk upgrade && \
10+
apk add --no-cache bash git openssh
11+
RUN mkdir ~/.ssh && ssh-keyscan github.com >> ~/.ssh/known_hosts
12+
RUN rm yarn.lock
913
RUN yarn
1014
RUN cd frontend && yarn && yarn run build
1115
CMD ["yarn", "run", "serve"]

0 commit comments

Comments
 (0)