test
This commit is contained in:
parent
9419b02cd3
commit
8f5adc53e0
@ -1,7 +1,4 @@
|
|||||||
ARG TARGETARCH
|
FROM ${TARGETARCH}/ubuntu:20.04
|
||||||
ARG TARGETOS
|
|
||||||
|
|
||||||
FROM $TARGETARCH/ubuntu:20.04
|
|
||||||
|
|
||||||
ENV TZ="Asia/Shanghai"
|
ENV TZ="Asia/Shanghai"
|
||||||
|
|
||||||
@ -16,7 +13,7 @@ RUN export DEBIAN_FRONTEND="noninteractive" && \
|
|||||||
|
|
||||||
WORKDIR /dashboard
|
WORKDIR /dashboard
|
||||||
COPY ./resource ./resource
|
COPY ./resource ./resource
|
||||||
COPY dist/dashboard-$TARGETOS-$TARGETARCH ./app
|
COPY dist/dashboard-${TARGETOS}-${TARGETARCH} ./app
|
||||||
|
|
||||||
VOLUME ["/dashboard/data"]
|
VOLUME ["/dashboard/data"]
|
||||||
EXPOSE 80 5555
|
EXPOSE 80 5555
|
||||||
|
Loading…
Reference in New Issue
Block a user