add signal handlers
This commit is contained in:
1 parent
da8a4903a7
commit
c2d4e01d0b
2 files changed
+9
-1
No files matched your search
+1
-1
@@ -25,4 +25,4 @@ WORKDIR /app
|
||||
COPY --from=builder /app/build-docker/fasttext_lid_server .
|
||||
RUN curl --remote-name https://dl.fbaipublicfiles.com/fasttext/supervised-models/lid.176.bin
|
||||
|
||||
CMD ["sh", "-c", "./fasttext_lid_server ${MODEL_FILE:-lid.176.bin} ${PORT:-8080}"]
|
||||
CMD ["sh", "-c", "exec ./fasttext_lid_server ${MODEL_FILE:-lid.176.bin} ${PORT:-8080}"]
|
||||
Reference in new issue
Block a user