mirror of https://github.com/buster-so/buster.git
try root cert
This commit is contained in:
parent
ccd6ea8ce9
commit
1182235116
|
@ -22,10 +22,14 @@ RUN apt-get update && apt-get install -y \
|
|||
&& update-ca-certificates \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Optional cert handling - won't fail if missing
|
||||
# Create PostgreSQL cert directory
|
||||
RUN mkdir -p /root/.postgresql
|
||||
|
||||
# Handle certs
|
||||
COPY cert.pem* /usr/local/share/ca-certificates/cert.crt
|
||||
COPY cert.pem* /root/.postgresql/root.crt
|
||||
RUN update-ca-certificates
|
||||
|
||||
COPY --from=builder /app/target/release/bi_api .
|
||||
COPY --from=builder /app/target/release/bi_api .
|
||||
EXPOSE 3001
|
||||
ENTRYPOINT ["./bi_api"]
|
||||
|
|
Loading…
Reference in New Issue