🐳
Some checks failed
continuous-integration/drone/tag Build is failing

This commit is contained in:
coward 2024-05-08 16:20:52 +08:00
parent c9d399f760
commit 141512b847

View File

@ -5,7 +5,8 @@ RUN apk add upx
WORKDIR /build
COPY . .
# sqlite必须
ENV CGO_ENABLED=1
ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.cn,direct
@ -21,6 +22,6 @@ RUN mkdir -p db
COPY --from=build /build/app /app
COPY --from=build /build/template/* /app/template/
RUN ls -al /app/ | grep 'app'
RUN ls -al
ENTRYPOINT ["./app"]