fix: workdir may not be available at startup
This commit is contained in:
parent
32a3c9024e
commit
0f51b7ffc1
2 changed files with 3 additions and 3 deletions
|
@ -96,8 +96,8 @@ RUN apt-get update && apt-get install -y \
|
|||
&& mkdir /var/log/supervisord /var/run/supervisord
|
||||
COPY supervisord.conf /etc/supervisord.conf
|
||||
|
||||
COPY app.json /app/app.json
|
||||
COPY postdeploy.sh /app/postdeploy.sh
|
||||
COPY app.json /app.json
|
||||
COPY postdeploy.sh /dokku/postdeploy.sh
|
||||
|
||||
ENV NEXTCLOUD_UPDATE=1
|
||||
|
||||
|
|
2
app.json
2
app.json
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"scripts": {
|
||||
"dokku": {
|
||||
"postdeploy": "su -l -s /bin/sh www-data -c /app/postdeploy.sh"
|
||||
"postdeploy": "su -l -s /bin/sh www-data -c /dokku/postdeploy.sh"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue