Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
iVampireSP authored Jan 23, 2024
1 parent cb4df95 commit cd4685f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ RUN cargo build --release
# build slim image
FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=builder /app/target/release/backend_server /home/BackendServer/backend_server
COPY --from=builder /app/target/release/key_tool /home/BackendServer/key_tool
COPY --from=builder /app/target/release/backend_server /app/backend_server
COPY --from=builder /app/target/release/key_tool /app/key_tool

RUN \
apt-get update && \
Expand All @@ -31,4 +31,4 @@ RUN \
apt-get autoclean && \
rm -rf /var/lib/apt/lists/*

CMD ["bash"]
CMD ["/app/backend_server"]

0 comments on commit cd4685f

Please sign in to comment.