parent
c9d399f760
commit
141512b847
@ -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"]
|
Loading…
x
Reference in New Issue
Block a user