mirror of
https://github.com/9technologygroup/patchmon.net.git
synced 2026-05-09 07:49:41 -05:00
arm builder
This commit is contained in:
@@ -43,6 +43,8 @@ jobs:
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v3
|
||||
with:
|
||||
platforms: linux/arm64
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3
|
||||
@@ -74,3 +76,4 @@ jobs:
|
||||
labels: ${{ steps.meta.outputs.labels }}
|
||||
cache-from: type=gha,scope=${{ matrix.image }}
|
||||
cache-to: type=gha,mode=max,scope=${{ matrix.image }}
|
||||
provenance: false
|
||||
|
||||
@@ -33,9 +33,8 @@ ENTRYPOINT ["/sbin/tini", "--"]
|
||||
CMD ["/app/entrypoint.sh"]
|
||||
|
||||
# Builder stage for production
|
||||
FROM node:lts-alpine AS builder
|
||||
|
||||
RUN apk add --no-cache openssl
|
||||
# Use Debian-based Node for better QEMU ARM64 compatibility
|
||||
FROM node:lts-slim AS builder
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
@@ -15,7 +15,8 @@ EXPOSE 3000
|
||||
CMD ["npm", "run", "dev", "--", "--host", "0.0.0.0", "--port", "3000"]
|
||||
|
||||
# Builder stage for production
|
||||
FROM node:lts-alpine AS builder
|
||||
# Use Debian-based Node for better QEMU ARM64 compatibility
|
||||
FROM node:lts-slim AS builder
|
||||
|
||||
WORKDIR /app/frontend
|
||||
|
||||
|
||||
Reference in New Issue
Block a user