Skip to content

Commit 1754ef4

Browse files
More docker logic fixes
1 parent 3e72f4f commit 1754ef4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

EssentialCSharp.Web/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
#syntax=docker/dockerfile:1.2
2-
ARG ACCESS_TO_NUGET_FEED=true
3-
ENV ACCESS_TO_NUGET_FEED=$ACCESS_TO_NUGET_FEED
42

53
FROM mcr.microsoft.com/dotnet/aspnet:8.0 AS base
64
WORKDIR /app
75
EXPOSE 8080
86
EXPOSE 8081
97

108
FROM mcr.microsoft.com/dotnet/sdk:9.0.102 AS build
9+
ARG ACCESS_TO_NUGET_FEED=true
10+
ENV ACCESS_TO_NUGET_FEED=$ACCESS_TO_NUGET_FEED
1111
RUN sh -c "$(curl -fsSL https://aka.ms/install-artifacts-credprovider.sh)"
1212
WORKDIR /src
1313
COPY . .

0 commit comments

Comments
 (0)