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 48dab6e commit 9025a96Copy full SHA for 9025a96
Dockerfile
@@ -11,10 +11,6 @@ COPY package.json /project/
11
#COPY package-lock.json /project/
12
COPY bin/preinstall.js /project/bin/preinstall.js
13
14
-COPY docker-entrypoint.sh /entrypoint.sh
15
-
16
-RUN chmod +x /entrypoint.sh
17
18
RUN cd /project
19
20
# There is a very stubborn npm package that keeps complaining even though
@@ -25,4 +21,7 @@ RUN npm install --package-lock-only &&\
25
21
npm audit fix &&\
26
22
npm install
27
23
28
-CMD /entrypoint.sh
24
+COPY docker-entrypoint.sh /entrypoint.sh
+RUN chmod +x /entrypoint.sh
+
+ENTRYPOINT ["/entrypoint.sh"]
docker-entrypoint.sh
@@ -1,4 +1,4 @@
1
-#!/bin/bash
+#!/bin/sh
2
3
cp -R /git-readonly /git
4
0 commit comments