adapted dockerfile
This commit is contained in:
parent
b65c4e306d
commit
16052071fb
@ -4,6 +4,11 @@ COPY . .
|
|||||||
RUN cargo install --path .
|
RUN cargo install --path .
|
||||||
|
|
||||||
FROM debian:buster-slim as runner
|
FROM debian:buster-slim as runner
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y ca-certificates tzdata libssl-dev libpq5 \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
COPY --from=builder /usr/local/cargo/bin/api /usr/local/bin/api
|
COPY --from=builder /usr/local/cargo/bin/api /usr/local/bin/api
|
||||||
ENV ROCKET_ADDRESS=0.0.0.0
|
ENV ROCKET_ADDRESS=0.0.0.0
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
Reference in New Issue
Block a user