Skip to content

Commit 4c7b8c9

Browse files
committed
Upgraded from bullseye to bookworm; Removed expose
1 parent 7a56ae7 commit 4c7b8c9

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

Dockerfile

+2-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Builing Stage
22
ARG RUST_VERSION=1.80.1
3-
FROM rust:${RUST_VERSION}-slim-bullseye AS build
3+
FROM rust:${RUST_VERSION}-slim-bookworm AS build
44
WORKDIR /app
55

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

1515

1616
# Final Stage
17-
FROM debian:bullseye-slim AS final
17+
FROM debian:bookworm-slim AS final
1818

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

21-
EXPOSE 80
22-
EXPOSE 443
23-
2421
WORKDIR /app
2522

2623
CMD ["/app/bifrost"]

0 commit comments

Comments
 (0)