Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/gruntworker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 4 insertions, 3 deletions
diff --git a/Dockerfile b/Dockerfile
index be16124..807c37d 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -13,8 +13,9 @@ RUN ["npm", "install", "-g", "grunt-cli"]
RUN ["useradd", "gruntworker"]
-ADD gruntworker.py /app/gruntworker.py
-ADD gruntworker.sh /app/gruntworker.sh
+RUN ["mkdir", "-p", "/opt/gruntworker"]
+ADD gruntworker.py /opt/gruntworker/gruntworker.py
+ADD gruntworker.sh /opt/gruntworker/gruntworker.sh
ADD git-repo /git-repo
# Setup SSH keys
@@ -38,4 +39,4 @@ RUN ["git", "config", "user.name", "Bootstrap's Grunt bot"]
RUN ["git", "config", "user.email", "twbs-grunt@users.noreply.github.com"]
RUN ["npm", "install"]
-ENTRYPOINT ["/app/gruntworker.sh"]
+ENTRYPOINT ["/opt/gruntworker/gruntworker.sh"]