Skip to content

Commit

Permalink
Merge pull request #51 from Chia-Network/workdir-var-www-html
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Oct 26, 2023
2 parents d06d9e2 + 1e02ae9 commit d3e701f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/build-phpfpm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ jobs:
build:
uses: Chia-Network/actions/.github/workflows/docker-build.yaml@main
with:
runs-on: "linux-arm64"
docker-platforms: "linux/arm64"
docker-context: "./phpfpm"
dockerfile: "./phpfpm/Dockerfile"
image_subpath: "phpfpm"
7 changes: 6 additions & 1 deletion nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
FROM nginx:latest

RUN mkdir -p /etc/nginx/nginx_configs
RUN mkdir -p /etc/nginx/nginx_configs \
&& mkdir -p /var/www/html \
&& chown -R www-data:www-data /var/www/html

WORKDIR /var/www/html

COPY nginx_configs/security /etc/nginx/nginx_configs/security
COPY nginx_configs/includes /etc/nginx/nginx_configs/includes
COPY security/automatticips.inc /etc/nginx/nginx_configs/security/automatticips.inc
Expand Down
1 change: 1 addition & 0 deletions phpfpm/php.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ post_max_size = 100M
upload_max_filesize = 100M
variables_order = EGPCS
display_errors = Off
log_errors = On

0 comments on commit d3e701f

Please sign in to comment.