Skip to content

Commit 0fb4353

Browse files
authored
Merge pull request #497 from EspressoSystems/li/fix-docker
Fix docker
2 parents 6164a97 + 19663de commit 0fb4353

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

docker/timeboost.Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ RUN rustup component add rustfmt --toolchain nightly
1414
RUN cargo build --release --bin timeboost
1515

1616
# Non-root app container stage
17-
FROM debian:bullseye-slim
17+
FROM debian:bookworm-slim
1818

1919
WORKDIR /app
2020

21-
RUN apt update && apt-get install -y libcurl4
21+
RUN apt update && apt-get install -y libcurl4 openssl
2222

2323
# Create non-root user and group
2424
RUN groupadd -r appgroup && useradd -r -g appgroup timeboostuser
@@ -36,11 +36,5 @@ USER timeboostuser
3636
# Set the log level to debug by default
3737
ENV RUST_LOG=${RUST_LOG:-sailfish=debug,timeboost=debug,cliquenet=error}
3838

39-
EXPOSE ${TIMEBOOST_SAILFISH_PORT}
40-
EXPOSE ${TIMEBOOST_DECRYPT_PORT}
41-
EXPOSE ${TIMEBOOST_CERTIFIER_PORT}
42-
EXPOSE ${TIMEBOOST_RPC_PORT}
43-
EXPOSE ${TIMEBOOST_METRICS_PORT}
44-
4539
# Run the timeboost binary
4640
CMD ["/app/timeboost"]

0 commit comments

Comments
 (0)