Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create /var/www/html and set workdir #51

Merged
merged 3 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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