mirror of
https://github.com/notf0und/SGS
synced 2026-07-17 18:21:06 +00:00
Fix symlink for tinfoil
This commit is contained in:
parent
802be82d32
commit
15b9c17b99
@@ -27,6 +27,10 @@ RUN npm install && npm run build
|
||||
# Create storage link
|
||||
RUN php artisan storage:link
|
||||
|
||||
# Copy entrypoint script
|
||||
COPY entrypoint.sh /etc/cont-init.d/99-fix-symlink
|
||||
RUN chmod +x /etc/cont-init.d/99-fix-symlink
|
||||
|
||||
# Fix permissions for Laravel storage and bootstrap/cache
|
||||
# Use numeric IDs (1000:1000 from PUID/PGID in docker-compose)
|
||||
RUN chown -R 1000:1000 /app/www && \
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Recreate storage symlink after volumes are mounted
|
||||
rm -rf /app/www/public/games
|
||||
ln -sfn ../storage/app/public/games /app/www/public/games
|
||||
Reference in New Issue
Block a user