diff --git a/rainloop/Dockerfile b/rainloop/Dockerfile index 48a6dc9..0e59d52 100644 --- a/rainloop/Dockerfile +++ b/rainloop/Dockerfile @@ -13,9 +13,12 @@ RUN addgroup \ --shell /sbin/nologin \ rainloop -RUN mkdir -p /var/www/rainloop && \ - cd /var/www/rainloop && \ - curl -sL https://repository.rainloop.net/installer.php | php && \ + +RUN mkdir -p /var/www/rainloop + +WORKDIR /var/www/rainloop + +RUN curl -sL https://repository.rainloop.net/installer.php | php && \ mkdir -p /run/nginx /var/run && \ touch /var/run/nginx.pid && \ chown -R rainloop:rainloop /var/www/rainloop @@ -28,6 +31,4 @@ COPY nginx.conf /etc/nginx/nginx.conf COPY entrypoint.sh /entrypoint.sh RUN chmod +x /entrypoint.sh -WORKDIR /var/www/rainloop - ENTRYPOINT ["/entrypoint.sh"]