Skip to content

Commit c7539f7

Browse files
committed
image upload fix
1 parent 915f750 commit c7539f7

32 files changed

+1272
-39
lines changed

.dockerignore

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# excludes from the docker image/build
2+
3+
# 1. Ignore Laravel-specific files we don't need
4+
bootstrap/cache/*
5+
storage/framework/cache/*
6+
storage/framework/sessions/*
7+
storage/framework/views/*
8+
storage/logs/*
9+
*.env*
10+
.rr.yml
11+
rr
12+
frankenphp
13+
vendor
14+
15+
# 2. Ignore common files/directories we don't need
16+
fly.toml
17+
.vscode
18+
.idea
19+
**/*node_modules
20+
**.git
21+
**.gitignore
22+
**.gitattributes
23+
**.sass-cache
24+
**/*~
25+
**/*.log
26+
**/.DS_Store
27+
**/Thumbs.db
28+
public/hot

.fly/entrypoint.sh

+15
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#!/usr/bin/env sh
2+
3+
# Run user scripts, if they exist
4+
for f in /var/www/html/.fly/scripts/*.sh; do
5+
# Bail out this loop if any script exits with non-zero status code
6+
bash "$f" -e
7+
done
8+
chown -R www-data:www-data /var/www/html
9+
10+
if [ $# -gt 0 ]; then
11+
# If we passed a command, run it as root
12+
exec "$@"
13+
else
14+
exec supervisord -c /etc/supervisor/supervisord.conf
15+
fi

0 commit comments

Comments
 (0)