This commit is contained in:
+3
-3
@@ -43,12 +43,12 @@ COPY ./src/MistoxWebsite.Server/ ./
|
||||
ARG TARGETOS TARGETARCH
|
||||
|
||||
# Build the source
|
||||
RUN if [ $TARGETARCH = "arm64" ]; then \
|
||||
RUN if [ "$TARGETARCH" = "arm64" ]; then \
|
||||
RID="arm64" \
|
||||
elif [ "$TARGETARCHARCH" = "amd64" ]; then \
|
||||
elif [ "$TARGETARCH" = "amd64" ]; then \
|
||||
RID="x64" \
|
||||
else \
|
||||
echo "Unsupported ARCH: $ARCH" \
|
||||
echo "Unsupported ARCH: $TARGETARCH" \
|
||||
exit 1 \
|
||||
fi && \
|
||||
dotnet publish './MistoxWebsite.Server.csproj' -c Release -r $TARGETOS-$RID -o /app/publish
|
||||
|
||||
Reference in New Issue
Block a user