new dotnet version

This commit is contained in:
Gervasio Marchand 2023-01-11 16:05:04 -03:00
parent 900db191e8
commit d6bc994416
No known key found for this signature in database
GPG Key ID: B7736CB188DD0A38

View File

@ -1,12 +1,12 @@
# syntax=docker/dockerfile:1
ARG ARCH=
FROM mcr.microsoft.com/dotnet/sdk:6.0.404-alpine3.16-${ARCH} AS builder
FROM mcr.microsoft.com/dotnet/sdk:6.0.405-alpine3.16-${ARCH} AS builder
WORKDIR /src
COPY src /src/
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app
FROM mcr.microsoft.com/dotnet/aspnet:6.0.12-alpine3.16-${ARCH}
FROM mcr.microsoft.com/dotnet/aspnet:6.0.13-alpine3.16-${ARCH}
VOLUME ["/data"]
ENV CONFIG_PATH=/data/config.json
COPY --from=builder /app /app