optimzie Dockerfile

pull/202/head
Michael Li 2 years ago
parent 1f51a3af07
commit 52635d3504
No known key found for this signature in database

@ -38,9 +38,8 @@ RUN apk update && apk add --no-cache ca-certificates && update-ca-certificates
WORKDIR /app/paopao-ce
COPY --from=backend /paopao-ce/release/paopao-ce .
COPY configs ./configs
VOLUME ["/app/paopao-ce/configs"]
VOLUME ["/app/paopao-ce/custom"]
EXPOSE 8008
HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD ps -ef | grep paopao-ce || exit 1
ENTRYPOINT ["/app/paopao-ce/paopao-ce"]

Loading…
Cancel
Save