From 8f5adc53e02369dd60b6f4e36399b2d2f2c5ee25 Mon Sep 17 00:00:00 2001 From: naiba Date: Thu, 7 Jul 2022 13:54:19 +0800 Subject: [PATCH] test --- Dockerfile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index f942930..fe5adfb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,4 @@ -ARG TARGETARCH -ARG TARGETOS - -FROM $TARGETARCH/ubuntu:20.04 +FROM ${TARGETARCH}/ubuntu:20.04 ENV TZ="Asia/Shanghai" @@ -16,7 +13,7 @@ RUN export DEBIAN_FRONTEND="noninteractive" && \ WORKDIR /dashboard COPY ./resource ./resource -COPY dist/dashboard-$TARGETOS-$TARGETARCH ./app +COPY dist/dashboard-${TARGETOS}-${TARGETARCH} ./app VOLUME ["/dashboard/data"] EXPOSE 80 5555