Skip to content

Commit

Permalink
fix: permissão da pasta temp
Browse files Browse the repository at this point in the history
  • Loading branch information
caduvieira committed May 16, 2024
1 parent a8b0931 commit 2c354b1
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,10 @@ RUN localedef pt_BR -i pt_BR -f ISO-8859-1 ; \
localedef pt_BR.ISO-8859-1 -i pt_BR -f ISO-8859-1 ; \
localedef pt_BR.ISO8859-1 -i pt_BR -f ISO-8859-1

ADD assets/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

EXPOSE 8000
CMD ["bash", "-c", "php-fpm && httpd -DFOREGROUND"]
8 changes: 8 additions & 0 deletions assets/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

mkdir -p /opt/sei/temp
mkdir -p /opt/sip/temp
chmod 777 /opt/sei/temp
chmod 777 /opt/sip/temp

exec "$@"

0 comments on commit 2c354b1

Please sign in to comment.