:camera: PictShare is an open source image, mp4, pastebin hosting service with a simple resizing and upload API that you can host yourself. :rice_scene:
I try to run your docker image on ARM Small Board Computers.
There have to use non-x86 based images, I lightly change your dockerfile.
When image runs on aRaspberryPi3 B+ I see an error on console during adding of picture
[22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368"
[22-Sep-2019 00:54:40] WARNING: [pool www] child 20 said into stderr: "NOTICE: PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368"
2019/09/22 00:54:40 [error] 15#15: *1 FastCGI sent in stderr: "PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368PHP message: PHP Warning: fopen(/usr/share/nginx/html/api/../data/sha1.csv): failed to open stream: No such file or directory in /usr/share/nginx/html/inc/core.php on line 368" while reading response header from upstream, client: 192.168.1.33, server: _, request: "POST /api/upload.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "pi:81", referrer: "http://pi:81/"
Strange but I not see this error if run same dockerfile on x86 host.
But I check, there no /usr/share/nginx/html/api/../data/sha1.csv file, and seems like /usr/share/nginx/html/inc/core.php on line 368 true tries to open it.
I try to run your docker image on ARM Small Board Computers. There have to use non-x86 based images, I lightly change your dockerfile. When image runs on aRaspberryPi3 B+ I see an error on console during adding of picture
Strange but I not see this error if run same dockerfile on x86 host. But I check, there no
/usr/share/nginx/html/api/../data/sha1.csv
file, and seems like/usr/share/nginx/html/inc/core.php
on line 368 true tries to open it.