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 7b8eff1 commit aa3f605
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ 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
RUN mv -f build ../build/default
RUN ls

WORKDIR /web/berry
COPY web/berry/package.json .
Expand All @@ -16,7 +16,6 @@ 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
RUN mv -f build ../build/berry

WORKDIR /web/build
RUN ls
Expand Down

0 comments on commit aa3f605

Please sign in to comment.