dockerfile update
parent
f08f84fd9a
commit
6939cd39dc
|
@ -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", "."]
|
||||||
|
|
Loading…
Reference in New Issue