Skip to content
Snippets Groups Projects
Commit 9d1a1b6c authored by nimrod's avatar nimrod
Browse files

Better use ONBUILD.

parent 2a979970
Branches
No related tags found
No related merge requests found
Pipeline #984 passed
...@@ -16,4 +16,5 @@ USER nobody ...@@ -16,4 +16,5 @@ USER nobody
CMD [ "supersonic", "/crontab" ] CMD [ "supersonic", "/crontab" ]
HEALTHCHECK CMD pgrep supersonic HEALTHCHECK CMD pgrep supersonic
RUN supersonic -test /crontab RUN supersonic -test /crontab
ONBUILD COPY crontab /crontab
ONBUILD RUN supersonic -test /crontab ONBUILD RUN supersonic -test /crontab
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment