mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-01-23 02:36:05 +00:00
fix(docker): use Debian-based nginx for ARM64 QEMU compatibility
Alpine's apk triggers fail under QEMU emulation on ARM64 builds. Switch to nginx:1 (Debian-based) which works reliably with QEMU.
This commit is contained in:
parent
0e17203d0a
commit
5ca64347ef
1 changed files with 2 additions and 2 deletions
|
|
@ -36,12 +36,12 @@ COPY . .
|
|||
RUN UNSPLASH_KEY=$UNSPLASH_KEY UNSPLASH_CLIENT_ID=$UNSPLASH_CLIENT_ID npm run env && npm run lint && npm run buildFrontend:prodWeb
|
||||
|
||||
# Production stage
|
||||
FROM nginx:1-alpine
|
||||
FROM nginx:1
|
||||
|
||||
ENV PORT=80
|
||||
|
||||
# Install runtime dependencies
|
||||
RUN apk add --no-cache jq
|
||||
RUN apt-get update && apt-get install -y --no-install-recommends jq && rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Copy built app and configs
|
||||
COPY --from=build /app/dist/browser /usr/share/nginx/html
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue