We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e670070 commit 6f5ba61Copy full SHA for 6f5ba61
Dockerfile
@@ -23,7 +23,7 @@ COPY . .
23
RUN cargo build --release --workspace
24
25
# Stage 2: Minimal runtime image
26
-FROM debian:bullseye-slim
+FROM --platform=${BUILDPLATFORM} debian:bullseye-slim
27
28
# Install Bash to support entrypoint.sh
29
RUN apt-get update && apt-get install -y bash && rm -rf /var/lib/apt/lists/*
@@ -43,6 +43,6 @@ RUN chmod +x /entrypoint.sh && chown -R appuser:appuser /app /entrypoint.sh
43
44
USER appuser
45
46
-EXPOSE 8000
+EXPOSE 4000
47
48
ENTRYPOINT ["/entrypoint.sh"]
0 commit comments