Skip to content

Commit 8e78186

Browse files
committed
chore (docker): update api base image and remove version from docker-compose
1 parent 4862d81 commit 8e78186

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:7.0-jammy AS build
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0-jammy AS build
22
WORKDIR /app
33

44
# copy main project
@@ -7,7 +7,7 @@ COPY fsharp-api/ .
77
RUN dotnet publish -c Release -o ./bin
88

99
# final stage/image
10-
FROM mcr.microsoft.com/dotnet/nightly/aspnet:7.0-jammy-chiseled AS runtime
10+
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-jammy-chiseled AS runtime
1111

1212
LABEL org.opencontainers.image.source=https://github.com/64J0/fsharp-monitoring
1313

docker-compose.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# https://github.com/vegasbrianc/prometheus/blob/master/docker-compose.yml
22
# https://docs.docker.com/compose/production/
3-
version: "3.9"
4-
53
services:
64
fsharp-api-server:
75
build: .

0 commit comments

Comments
 (0)