diff --git a/.beagle/dockerfile b/.beagle/dockerfile index 9a05a6873505f706839866edb0e1eafcc55bd6c4..358a76104f9c4de805d19b2375104c1505da9924 100644 --- a/.beagle/dockerfile +++ b/.beagle/dockerfile @@ -1,15 +1,17 @@ ARG BASE + FROM $BASE -ENV TZ Asia/Shanghai + +ARG AUTHOR +ARG VERSION +LABEL maintainer=${AUTHOR} version=${VERSION} ARG TARGETOS ARG TARGETARCH -ARG TARGETBINARY -WORKDIR /app -COPY ./dist/$TARGETBINARY-$TARGETOS-$TARGETARCH /app/$TARGETBINARY RUN apt-get update RUN apt-get -y install ansible +COPY ./dist/so-operation-api-$TARGETOS-$TARGETARCH /app/so-operation-api EXPOSE 80 ENTRYPOINT ["/app/so-operation-api", "--port=80", "--prefix=/v1/api"] \ No newline at end of file