Skip to content

Commit

Permalink
fix: riscv64 build
Browse files Browse the repository at this point in the history
  • Loading branch information
leomotors committed Sep 22, 2024
1 parent 75ad103 commit 81bf12e
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Changelog before version 4 is not available.

## [4.1.1] - 2024-09-22

- fix: riscv64 build

## [4.1.0] - 2024-09-22

- chore: bump deps
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,8 @@ LABEL name="bots-gulag"
RUN corepack enable

USER node
ENV NODE_ENV production
ENV ENVIRONMENT PRODUCTION
ENV NODE_ENV=production
ENV ENVIRONMENT=PRODUCTION

# copy all files from layers above
COPY package.json ./
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile.riscv64
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,10 @@ LABEL name="bots-gulag"

RUN corepack enable

RUN adduser -D node
USER node
ENV NODE_ENV production
ENV ENVIRONMENT PRODUCTION
ENV NODE_ENV=production
ENV ENVIRONMENT=PRODUCTION

# copy all files from layers above
COPY package.json ./
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bots-gulag",
"version": "4.1.0",
"version": "4.1.1",
"description": "Bots",
"repository": "https://github.com/CarelessDev/bots-gulag",
"type": "module",
Expand Down

0 comments on commit 81bf12e

Please # to comment.