Skip to content

Commit

Permalink
docker: Explicitly set executable permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
pschlan committed Dec 10, 2023
1 parent 3bde3cc commit 4b49119
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
2 changes: 2 additions & 0 deletions api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 7 additions & 0 deletions frontend/.dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.DS_Store
.vscode
CMakeCache.txt
CMakeFiles
/build
/node_modules
/src/utils/Config.js
2 changes: 1 addition & 1 deletion frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4b49119

Please sign in to comment.