From 1ae18e1577568f7827c93da259b7fb9677ff111c Mon Sep 17 00:00:00 2001 From: Anthony Lapenna Date: Wed, 26 Oct 2016 12:09:09 +1300 Subject: [PATCH] chore(grunt): fix an issue with the Docker image building process in grunt --- build/linux/Dockerfile | 2 ++ gruntFile.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build/linux/Dockerfile b/build/linux/Dockerfile index 0735dc57e..299b9bd23 100644 --- a/build/linux/Dockerfile +++ b/build/linux/Dockerfile @@ -4,6 +4,8 @@ COPY dist / VOLUME /data +WORKDIR / + EXPOSE 9000 ENTRYPOINT ["/portainer"] diff --git a/gruntFile.js b/gruntFile.js index 2a6772a11..b1629bd39 100644 --- a/gruntFile.js +++ b/gruntFile.js @@ -265,7 +265,7 @@ module.exports = function (grunt) { }, shell: { buildImage: { - command: 'docker build --rm -t portainer .' + command: 'docker build --rm -t portainer -f build/linux/Dockerfile .' }, buildBinary: { command: [