Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/Cluckwork.Api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# re-tagged "latest 10.0". Dependabot's `docker` ecosystem opens the bump PR when
# a newer digest ships a security fix; refresh with
# docker buildx imagetools inspect <image>:<tag> --format '{{.Manifest.Digest}}'
FROM node:26-alpine@sha256:ef24c5053d50fdc3e4e56eb4e7ddb7861874ab0fdc797046ba897581deb8e868 AS web-build
FROM node:26-alpine@sha256:dbaa92e5758cbbcf85d65d5403fdb530fe3442cbe8c6dbfb7ef23365450d5070 AS web-build
WORKDIR /web
COPY web/package.json web/package-lock.json ./
RUN npm ci
Expand All @@ -19,7 +19,7 @@ RUN mkdir /web/sourcemaps && \
find /web/dist -name '*.map' -exec mv {} /web/sourcemaps/ \;

# --- API build: restore + publish the .NET app ---
FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:4ea6fe75dd36706bb6d8c3c293d4c4315840f5d76ea28ac97def77e3ec487fa5 AS build
FROM mcr.microsoft.com/dotnet/sdk:10.0@sha256:2fa828c68761b1b8c23d7662dc134421b9d3b59fe1425fdbc80804e390cdb24d AS build
WORKDIR /src
# #315 — copy EVERY restore input (Directory.Build.props + each project file AND
# its packages.lock.json, for the API project and the projects it references)
Expand Down Expand Up @@ -55,7 +55,7 @@ RUN dotnet publish src/Cluckwork.Api/Cluckwork.Api.csproj -c Release -o /out --n
# Separately, do NOT set InvariantGlobalization=true: it does not break tz lookup
# on Linux (tzdata is read independently of ICU), but it breaks culture-dependent
# currency/locale formatting the app relies on. Keep ICU (the default here).
FROM mcr.microsoft.com/dotnet/aspnet:10.0@sha256:1fe86375600b62e6566b465da9553eef0621f13c67f40fe764cd8dbb1dee1497 AS runtime
FROM mcr.microsoft.com/dotnet/aspnet:10.0@sha256:6a94333d37514e385650a3c81a55e5350b67253dbe136e9cf17e499c35606a8c AS runtime
WORKDIR /app
EXPOSE 8080

Expand Down
Loading