Skip to content

Commit

Permalink
refactor: permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ictorn committed May 2, 2024
1 parent 7702e24 commit c951e6a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions agma/server/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM dunglas/frankenphp:1.1.2-php8.3.6-alpine

RUN set -xe && install-php-extensions opcache sockets pcntl pdo_pgsql pdo_sqlsrv gd decimal bcmath intl zip soap
RUN set -xe && install-php-extensions opcache sockets pcntl pdo_pgsql pdo_sqlsrv gd decimal bcmath intl zip soap \
&& chmod 777 /etc/caddy

COPY config/php.ini /usr/local/etc/php/php.ini
COPY config/Caddyfile /etc/caddy/Caddyfile

HEALTHCHECK NONE

ENTRYPOINT ["/usr/local/bin/frankenphp"]
CMD ["run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
CMD ["run", "--config", "/etc/caddy/Caddyfile", "--adapter", "caddyfile"]
2 changes: 1 addition & 1 deletion agma/server/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
set -e

docker build --no-cache --pull --platform "linux/arm64" -t ghcr.io/agrokordi/agma:server .
docker build --no-cache --pull --platform "linux/arm64" -t agrokordi/agma:server .
2 changes: 1 addition & 1 deletion agma/vpn/build.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh
set -e

docker build --no-cache --pull --platform "linux/arm64" -t ghcr.io/agrokordi/agma:vpn .
docker build --no-cache --pull --platform "linux/arm64" -t agrokordi/agma:vpn .

0 comments on commit c951e6a

Please sign in to comment.