Skip to content

Commit

Permalink
fix: update Dockerfile set arena_version.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-liang committed Jun 29, 2023
1 parent 0561527 commit 3fe6999
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ RUN mkdir -p /arena-core
WORKDIR /arena-core
COPY . .
RUN npm ci
RUN echo export const ARENA_VERSION_MSG=\"ARENA $version commit hash $chash\" > src/arena-version.js
RUN echo "const ARENA_VERSION_MSG=\"ARENA $version commit hash $chash\";" > src/arena-version.js
RUN echo "export default ARENA_VERSION_MSG;" >> src/arena-version.js
RUN mkdir -p dist && npm run build
RUN rm -fr node_modules

Expand Down

0 comments on commit 3fe6999

Please sign in to comment.