Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
bvanvugt authored Dec 31, 2021
1 parent 2ae3889 commit e070586
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,14 +1,17 @@
FROM node:10.19-alpine AS build

ARG APP_VERSION
ENV APP_VERSION=$APP_VERSION
ENV REACT_APP_VERSION=$APP_VERSION

COPY . .
RUN npm ci
RUN npm run build

FROM nginx:1.17-alpine

ARG APP_VERSION
ENV APP_VERSION=$APP_VERSION

RUN apk update
RUN apk add --no-cache curl

Expand Down

0 comments on commit e070586

Please sign in to comment.