GetMoarFediverse/Dockerfile
Gervasio Marchand 54828b9469
Rename!
2022-12-05 08:38:07 -03:00

13 lines
358 B
Docker

# syntax=docker/dockerfile:1
FROM mcr.microsoft.com/dotnet/sdk:6.0.403-alpine3.16 AS builder
WORKDIR /src
COPY src /src/
RUN dotnet publish -c Release /src/GetMoarFediverse.csproj -o /app
FROM mcr.microsoft.com/dotnet/aspnet:6.0.11-alpine3.16
VOLUME ["/data"]
ENV CONFIG_PATH=/data/config.json
COPY --from=builder /app /app
CMD ["/app/GetMoarFediverse"]