Skip to content

Commit

Permalink
Upgraded from bullseye to bookworm; Removed expose
Browse files Browse the repository at this point in the history
  • Loading branch information
ellwoodb authored and chrivers committed Aug 22, 2024
1 parent 40e1301 commit 04c622b
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Builing Stage
ARG RUST_VERSION=1.80.1
FROM rust:${RUST_VERSION}-slim-bullseye AS build
FROM rust:${RUST_VERSION}-slim-bookworm AS build
WORKDIR /app

RUN --mount=type=bind,source=src,target=src \
Expand All @@ -14,13 +14,10 @@ EOF


# Final Stage
FROM debian:bullseye-slim AS final
FROM debian:bookworm-slim AS final

COPY --from=build /bifrost /app/bifrost

EXPOSE 80
EXPOSE 443

WORKDIR /app

CMD ["/app/bifrost"]

0 comments on commit 04c622b

Please sign in to comment.