Skip to content

Commit cc0af54

Browse files
author
Nick
committed
use dumb-init
1 parent 8ed7044 commit cc0af54

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ FROM lampnick/runtime:chromium-alpine
1919
MAINTAINER lampnick <[email protected]>
2020
COPY --from=builder /usr/local/bin/doctron /usr/local/bin/doctron
2121
COPY conf/default.yaml /doctron.yaml
22-
ENTRYPOINT ["doctron", "--config", "/doctron.yaml"]
22+
EXPOSE 8080
23+
RUN wget -O /usr/local/bin/dumb-init https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64
24+
RUN chmod +x /usr/local/bin/dumb-init
25+
CMD ["dumb-init", "doctron", "--config", "/doctron.yaml"]

0 commit comments

Comments
 (0)