fix app.json extraction in dockerfile apps not using /app. closes #2300

This commit is contained in:
Michael Hobbs
2016-07-06 10:41:44 -07:00
parent 0c5123410b
commit 01d65fccdd
4 changed files with 7 additions and 6 deletions

View File

@@ -4,8 +4,8 @@ EXPOSE 3001/udp
EXPOSE 3000/tcp
EXPOSE 3003
COPY . /app
WORKDIR /app
COPY . /var/www/html
WORKDIR /var/www/html
RUN npm install
CMD npm start

View File

@@ -11,8 +11,8 @@
"logo": "https://raw.githubusercontent.com/dokku/dokku/master/docs/assets/dokku.png",
"scripts": {
"dokku": {
"predeploy": "touch /app/predeploy.test",
"postdeploy": "touch /app/postdeploy.test"
"predeploy": "mkdir -p /app && touch /app/predeploy.test",
"postdeploy": "mkdir -p /app && touch /app/postdeploy.test"
}
},
"env": {