mirror of
https://github.com/g3rv4/FakeRelay.git
synced 2024-11-28 10:13:07 +01:00
new dotnet version
This commit is contained in:
parent
900db191e8
commit
d6bc994416
@ -1,12 +1,12 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
|
|
||||||
ARG ARCH=
|
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
|
WORKDIR /src
|
||||||
COPY src /src/
|
COPY src /src/
|
||||||
RUN dotnet publish -c Release /src/FakeRelay.sln -o /app
|
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"]
|
VOLUME ["/data"]
|
||||||
ENV CONFIG_PATH=/data/config.json
|
ENV CONFIG_PATH=/data/config.json
|
||||||
COPY --from=builder /app /app
|
COPY --from=builder /app /app
|
||||||
|
Loading…
Reference in New Issue
Block a user