Skip to content

Commit

Permalink
fix: app version is not sended correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
42atomys committed Jul 20, 2022
1 parent 6b87ad9 commit 88876a8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM golang:1.18 AS go-build

WORKDIR /build
COPY . /build
ENV APP_VERSION=${APP_VERSION}
ENV APP_VERSION=$APP_VERSION

RUN apt-get update && \
apt-get install -y unzip jq && \
Expand All @@ -22,8 +22,8 @@ WORKDIR /build
COPY --from=node-deps /build/node_modules ./node_modules
COPY . .

ENV NEXT_TELEMETRY_DISABLED 1 \
APP_VERSION=${APP_VERSION}
ENV NEXT_TELEMETRY_DISABLED 1
ENV APP_VERSION=$APP_VERSION

RUN apt-get update -y && \
apt-get install -y jq && \
Expand All @@ -41,8 +41,8 @@ LABEL repository "https://github.com/42Atomys/stud42"

WORKDIR /app

ENV NEXT_TELEMETRY_DISABLED 1 \
APP_VERSION=${APP_VERSION}
ENV NEXT_TELEMETRY_DISABLED 1
ENV APP_VERSION=$APP_VERSION

COPY --from=node-builder /build/web/ui/next.config.js ./
COPY --from=node-builder /build/web/ui/public ./public
Expand Down

0 comments on commit 88876a8

Please sign in to comment.