Created
November 9, 2020 16:11
-
-
Save Piotr1215/89d5da366a3a69e7a8b36a87140a386b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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