mirror of
https://dev.azure.com/tstanciu94/Tuitio/_git/Tuitio
synced 2025-03-28 23:52:20 +02:00
docker file ARM fix
This commit is contained in:
parent
87f6d6e3ea
commit
1a2bbf43b8
@ -1,11 +1,11 @@
|
|||||||
#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:8.0 AS base
|
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
|
|
||||||
# This stage is used to build the service project
|
# This stage is used to build the service project
|
||||||
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build
|
||||||
ARG BUILD_CONFIGURATION=Release
|
ARG BUILD_CONFIGURATION=Release
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
COPY ["dependencies.props", "."]
|
COPY ["dependencies.props", "."]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user