Use entrypoint in dockerfiles

This commit is contained in:
Zoe Roux
2023-11-27 14:46:11 +01:00
parent 2b0f6837a8
commit 0e2950ab69
6 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -10,4 +10,4 @@ RUN cargo build
RUN rm src/lib.rs
EXPOSE 7666
CMD cargo watch -x run
ENTRYPOINT ["cargo", "watch", "-x", "run"]