Skip to content

Commit

Permalink
Reorder dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkleeman committed Dec 10, 2024
1 parent 876e966 commit 24202db
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ FROM upload-$UPLOAD_DEBUGINFO AS upload

# We do not need the Rust toolchain to run the server binary!
FROM debian:bookworm-slim AS runtime
# useful for health checks
RUN apt-get update && apt-get install --no-install-recommends -y curl && rm -rf /var/lib/apt/lists/*
COPY --from=upload /restate/target/restate-server /usr/local/bin
COPY --from=upload /restate/NOTICE /NOTICE
COPY --from=upload /restate/LICENSE /LICENSE
COPY --from=builder /restate/NOTICE /NOTICE
COPY --from=builder /restate/LICENSE /LICENSE
# copy OS roots
COPY --from=upload /etc/ssl /etc/ssl
# useful for health checks
COPY --from=builder /etc/ssl /etc/ssl
COPY --from=upload /restate/target/restate-server /usr/local/bin
WORKDIR /
ENTRYPOINT ["/usr/local/bin/restate-server"]

0 comments on commit 24202db

Please sign in to comment.