Skip to content

Commit

Permalink
install git
Browse files Browse the repository at this point in the history
  • Loading branch information
cogentapps committed Mar 21, 2023
1 parent d9b584c commit 797296e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ FROM node:19-alpine AS build
RUN addgroup -S app && adduser -S app -G app
RUN mkdir /app && chown app:app /app

RUN apk add --update --no-cache git

USER app

WORKDIR /app
Expand All @@ -19,7 +21,6 @@ COPY ./app/src ./src
ENV NODE_ENV=production
ENV REACT_APP_AUTH_PROVIDER=local

RUN apk add --update --no-cache git
RUN npm run build

FROM node:19-alpine AS server
Expand Down

0 comments on commit 797296e

Please sign in to comment.