Skip to content

Commit

Permalink
build(frontend): pass through version build arg to env variable in do…
Browse files Browse the repository at this point in the history
…cker
  • Loading branch information
Harjot1Singh committed Oct 25, 2021
1 parent d78d87f commit 4f5434d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ LABEL org.opencontainers.image.source=https://github.com/shabados/viewer
WORKDIR /usr/app

ARG version
ENV REACT_APP_VERSION=version
ENV REACT_APP_VERSION=$version

COPY package*.json ./
RUN npm install
Expand Down

0 comments on commit 4f5434d

Please sign in to comment.