do we need the entrypoint and cmd

This commit is contained in:
2021-05-12 15:25:30 +02:00
parent 99185edd98
commit 522899fd14
3 changed files with 15 additions and 11 deletions

View File

@@ -6,4 +6,8 @@ FROM nextcloud:stable-apache
RUN touch /usr/src/nextcloud/data/.ocdata
COPY config.php /usr/src/nextcloud/config/
COPY post-start.sh /usr/local/bin/post-start.sh
CMD chmod +x /usr/local/bin/post-start.sh
CMD chmod +x /usr/local/bin/post-start.sh
ENTRYPOINT ["/entrypoint.sh"]
CMD ["%%CMD%%"]