dockerfile update

master
Tudor Stanciu 2023-02-02 08:46:05 +02:00
parent f08f84fd9a
commit 6939cd39dc
1 changed files with 2 additions and 2 deletions

View File

@ -1,10 +1,10 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. #See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
WORKDIR /app WORKDIR /app
EXPOSE 80 EXPOSE 80
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
WORKDIR /workspace WORKDIR /workspace
COPY ["dependencies.props", "."] COPY ["dependencies.props", "."]
COPY ["Directory.Build.props", "."] COPY ["Directory.Build.props", "."]