Skip to content

Commit

Permalink
use current platform to build frontend assets
Browse files Browse the repository at this point in the history
  • Loading branch information
mayswind committed Mar 24, 2024
1 parent 1e047ae commit ac3d16d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ RUN apk add git gcc g++ libc-dev
RUN ./build.sh backend

# Build frontend files
FROM node:18.19.1-alpine3.19 AS fe-builder
FROM --platform=$BUILDPLATFORM node:18.19.1-alpine3.19 AS fe-builder
ARG RELEASE_BUILD
ENV RELEASE_BUILD=$RELEASE_BUILD
WORKDIR /go/src/github.com/mayswind/ezbookkeeping
Expand Down
3 changes: 0 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
"vite-plugin-pwa": "^0.19.2",
"vite-plugin-vuetify": "^2.0.2"
},
"overrides": {
"rollup": "npm:@rollup/wasm-node"
},
"browserslist": [
"> 1%",
"last 2 versions",
Expand Down

0 comments on commit ac3d16d

Please sign in to comment.