diff --git a/Dockerfile b/Dockerfile index e4525882..eee21f1a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -37,6 +37,7 @@ RUN rm -rf /opt/chronos/include RUN rm -rf /opt/chronos/share/man RUN rm -f /opt/chronos/bin/thrift RUN rm -f /opt/chronos/bin/curl-config +RUN chmod 0755 /opt/chronos/bin/chronos-entry CMD "/opt/chronos/bin/chronos-entry" diff --git a/api/Dockerfile b/api/Dockerfile index f380f850..4f838c4d 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -15,6 +15,8 @@ RUN mv "$PHP_INI_DIR/php.ini-development" "$PHP_INI_DIR/php.ini" COPY ./docker/msmtprc /etc/msmtprc COPY ./docker/api-entry /usr/local/bin/ +RUN chmod 0755 /usr/local/bin/api-entry + COPY ./ /var/www/html/ RUN rm -rf /var/www/html/docker diff --git a/frontend/.dockerignore b/frontend/.dockerignore new file mode 100644 index 00000000..7dee514f --- /dev/null +++ b/frontend/.dockerignore @@ -0,0 +1,7 @@ +.DS_Store +.vscode +CMakeCache.txt +CMakeFiles +/build +/node_modules +/src/utils/Config.js diff --git a/frontend/Dockerfile b/frontend/Dockerfile index a711951f..da38731a 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -9,7 +9,7 @@ COPY ./ /src/cron-job.org/frontend COPY ./docker/Config.js /src/cron-job.org/frontend/src/utils/ COPY ./docker/update-frontend-config /usr/local/bin/ -RUN /usr/local/bin/update-frontend-config +RUN chmod 0755 /usr/local/bin/update-frontend-config && /usr/local/bin/update-frontend-config WORKDIR /src/cron-job.org/frontend RUN npm ci && npm run build