mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-02-14 18:29:51 +00:00
lint: fix FromAsCasing
Signed-off-by: David Karlsson <35727626+dvdksn@users.noreply.github.com>
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
# to build for a different platform than your host, use --platform=<platform>
|
||||
# for example, if you were on Intel (amd64) and wanted to build for ARM, you would use:
|
||||
# docker buildx build --platform "linux/arm64/v8" .
|
||||
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:7.0 as build
|
||||
FROM --platform=${BUILDPLATFORM} mcr.microsoft.com/dotnet/sdk:7.0 AS build
|
||||
ARG TARGETPLATFORM
|
||||
ARG TARGETARCH
|
||||
ARG BUILDPLATFORM
|
||||
@@ -23,4 +23,4 @@ RUN dotnet publish -c release -o /app -a $TARGETARCH --self-contained false --no
|
||||
FROM mcr.microsoft.com/dotnet/runtime:7.0
|
||||
WORKDIR /app
|
||||
COPY --from=build /app .
|
||||
ENTRYPOINT ["dotnet", "Worker.dll"]
|
||||
ENTRYPOINT ["dotnet", "Worker.dll"]
|
||||
|
||||
Reference in New Issue
Block a user