Skip to content

Instantly share code, notes, and snippets.

@Piotr1215
Created November 9, 2020 16:11
Show Gist options
  • Save Piotr1215/89d5da366a3a69e7a8b36a87140a386b to your computer and use it in GitHub Desktop.
Save Piotr1215/89d5da366a3a69e7a8b36a87140a386b to your computer and use it in GitHub Desktop.
FROM mcr.microsoft.com/dotnet/core/sdk:3.1 AS build-env
WORKDIR /app
COPY . ./
RUN pwa-
FROM nginx:alpine
WORKDIR /var/www/web
COPY --from=build-env /app/output/wwwroot .
COPY nginx.conf /etc/nginx/nginx.conf
EXPOSE 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment