Skip to content

Commit

Permalink
fix: fix Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
songquanpeng committed Jan 7, 2024
1 parent 0d22cf9 commit 797ead6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
FROM node:16 as builder

WORKDIR /web/build

WORKDIR /web/default
COPY web/default/package.json .
RUN npm install
COPY ./web/default .
COPY ./VERSION .
RUN mkdir -p ../build/default
RUN GENERATE_SOURCEMAP='false' DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build

WORKDIR /web/berry
COPY web/berry/package.json .
RUN npm install
COPY ./web/berry .
COPY ./VERSION .
RUN mkdir -p ../build/berry
RUN GENERATE_SOURCEMAP='false' DISABLE_ESLINT_PLUGIN='true' REACT_APP_VERSION=$(cat VERSION) npm run build

FROM golang AS builder2
Expand Down

0 comments on commit 797ead6

Please sign in to comment.