1
0
mirror of https://github.com/jakeswenson/BitBetter.git synced 2023-10-10 13:36:57 +02:00
BitBetter/bitBetter/Dockerfile

14 lines
286 B
Docker
Raw Normal View History

2023-01-02 20:59:14 +01:00
FROM mcr.microsoft.com/dotnet/sdk:6.0 as build
WORKDIR /bitBetter
COPY . /bitBetter
COPY cert.cert /app/
RUN dotnet restore
RUN dotnet publish -c Release -o /app --no-restore
FROM mcr.microsoft.com/dotnet/sdk:6.0
WORKDIR /app
COPY --from=build /app .
ENTRYPOINT [ "/app/bitBetter" ]