Skip to content

Commit

Permalink
Comment out some of the code from the Dockerfile that was causing errors
Browse files Browse the repository at this point in the history
  • Loading branch information
JonTaylor1971 committed Apr 22, 2024
1 parent 4e80424 commit af8bd2d
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ RUN npm install -g autorest
# run unit tests
#RUN dotnet test -c Release

# build
FROM build AS publish
RUN dotnet publish "web/web.njsproj" -c Release -o /app/publish
# --runtime linux-musl-x64 --no-self-contained

FROM base AS final
# copy diagnostics tools
WORKDIR /tools
COPY --from=build /tools .
# copy app
WORKDIR /app
COPY --from=publish /app/publish .
ENTRYPOINT ["dotnet", "web.dll"]
## build
#FROM build AS publish
#RUN dotnet publish "web/web.njsproj" -c Release -o /app/publish
## --runtime linux-musl-x64 --no-self-contained

#FROM base AS final
## copy diagnostics tools
#WORKDIR /tools
#COPY --from=build /tools .
## copy app
#WORKDIR /app
#COPY --from=publish /app/publish .
#ENTRYPOINT ["dotnet", "web.dll"]

0 comments on commit af8bd2d

Please sign in to comment.