Skip to content

Commit 664f960

Browse files
committed
feat: simplificar dockerfile
1 parent 3a579fd commit 664f960

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ COPY configs/php-errors.ini /usr/local/etc/php/conf.d/php-errors.ini
8989
COPY apache-run.sh /usr/bin/apache-run
9090
COPY ./bin /usr/bin/
9191

92-
RUN touch /usr/bin/post-startup-hook && chmod a+x \
92+
RUN chmod a+x \
9393
/usr/bin/apache-run \
9494
/usr/bin/xdebug-set-mode \
9595
/usr/bin/post-startup-hook

bin/post-startup-hook

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
3+
# substituir pelas ações necessárias apenas o startup base

0 commit comments

Comments
 (0)