We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28a9a53 commit bb8c25bCopy full SHA for bb8c25b
Dockerfile
@@ -15,4 +15,10 @@ RUN npm install
15
CMD sh boot.sh
16
17
ONBUILD ADD . /app/
18
+ONBUILD RUN if [ -f /app/on-build.sh ]; \
19
+ then \
20
+ echo "Running custom on-build.sh of child" \
21
+ && chmod +x /app/on-build.sh \
22
+ && /bin/bash /app/on-build.sh ;\
23
+ fi
24
ONBUILD RUN cd /usr/src/app && npm install && if [ -f "/app/package.json" ]; then npm install /app; fi
0 commit comments