Skip to content

Commit

Permalink
use ENTRYPOINT and pass import flag
Browse files Browse the repository at this point in the history
  • Loading branch information
sudocarlos committed Jan 21, 2025
1 parent 354ceeb commit 3fa57cc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ COPY --from=builder /go/haven /haven
COPY --from=builder /go/bin/haven /haven/haven

WORKDIR /haven
CMD ["./haven"]
ENTRYPOINT ["./haven"]
EXPOSE 3355
1 change: 1 addition & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ services:
haven:
container_name: haven
image: haven
command: ["--import"]
build: .
env_file: .env
ports:
Expand Down

0 comments on commit 3fa57cc

Please sign in to comment.