Skip to content

Commit

Permalink
chore: remove docker entrypoint script
Browse files Browse the repository at this point in the history
  • Loading branch information
Serial-ATA committed Oct 21, 2024
1 parent 592d23b commit aafd8aa
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ RUN cargo build --release
FROM debian:bookworm-slim AS runtime
WORKDIR /app
COPY --from=chef /app/target/release/{{project-name}} /usr/local/bin
COPY --from=chef /app/docker/entrypoint.sh /usr/local/bin
RUN chmod +x /usr/local/bin/entrypoint.sh

LABEL org.opencontainers.image.authors="{{authors}}"
LABEL org.opencontainers.image.description="{{project-description}}"
Expand All @@ -28,4 +26,4 @@ ENV BIND_PORT=9632
ENV BLUEPRINT_ID=0
ENV SERVICE_ID=0

ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
ENTRYPOINT ["/usr/local/bin/{{project-name}}", "run"]
6 changes: 0 additions & 6 deletions docker/entrypoint.sh

This file was deleted.

0 comments on commit aafd8aa

Please sign in to comment.