Skip to content
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
ghcr.io/raunot/plex-rewind:${{ github.sha }}
build-args: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
ghcr.io/raunot/plex-rewind:develop
ghcr.io/raunot/plex-rewind:${{ env.NEXT_VERSION_TAG }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
with:
context: .
push: true
platforms: linux/amd64,linux/arm64
platforms: linux/amd64,linux/arm64,linux/arm/v7
tags: |
ghcr.io/raunot/plex-rewind:latest
ghcr.io/raunot/plex-rewind:${{ env.NEXT_VERSION_TAG }}
Expand Down
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
# syntax=docker.io/docker/dockerfile:1

FROM node:22-alpine AS base
FROM node:22-slim AS base

# Install dependencies only when needed
FROM base AS deps
# Check https://github.com/nodejs/docker-node/tree/b4117f9333da4138b03a546ec926ef50a31506c3#nodealpine to understand why libc6-compat might be needed.
RUN apk add --no-cache libc6-compat
WORKDIR /app

# Install dependencies based on the preferred package manager
Expand Down Expand Up @@ -40,7 +38,7 @@ FROM base AS runner
WORKDIR /app

# Install openssl in the runner stage
RUN apk add --no-cache openssl
RUN apt-get update && apt-get install openssl

ENV NODE_ENV=production
ENV BASE_DIR=/app
Expand Down
Loading