fix: workdir may not be available at startup
This commit is contained in:
parent
0f51b7ffc1
commit
56e1f73971
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
|
&& mkdir /var/log/supervisord /var/run/supervisord
|
||||||
COPY supervisord.conf /etc/supervisord.conf
|
COPY supervisord.conf /etc/supervisord.conf
|
||||||
|
|
||||||
COPY app.json /app.json
|
COPY ./app.json /app.json
|
||||||
COPY postdeploy.sh /dokku/postdeploy.sh
|
COPY ./postdeploy.sh /dokku/postdeploy.sh
|
||||||
|
|
||||||
ENV NEXTCLOUD_UPDATE=1
|
ENV NEXTCLOUD_UPDATE=1
|
||||||
|
|
||||||
|
|
2
app.json
2
app.json
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dokku": {
|
"dokku": {
|
||||||
"postdeploy": "su -l -s /bin/sh www-data -c /dokku/postdeploy.sh"
|
"postdeploy": "su -l -s /bin/sh www-data -c /dokku/postdeploy.sh"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue