diff --git a/Dockerfile b/Dockerfile index 5485c4c..871b942 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,4 +22,8 @@ RUN npm install gulp -D && \ yarn && \ yarn global add gulp-cli +COPY start.sh / +RUN chmod +x /start.sh + +ENTRYPOINT ["/start.sh"] #RUN gulp \ No newline at end of file diff --git a/start.sh b/start.sh index 9d109df..8c65124 100644 --- a/start.sh +++ b/start.sh @@ -1,7 +1,3 @@ #!/bin/sh -git clone https://github.com/ffrgb/meshviewer.git /opt/meshviewer/ cd /opt/meshviewer -npm install gulp -D -yarn -yarn global add gulp-cli gulp \ No newline at end of file