Spaces:
Sleeping
Sleeping
Commit
·
d92a0c1
1
Parent(s):
df6891d
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -45,9 +45,9 @@ RUN chown -R www-data:www-data /app/storage && \
|
|
45 |
chmod -R 775 /app/bootstrap/cache && \
|
46 |
touch /app/storage/logs/laravel.log && \
|
47 |
chown www-data:www-data /app/storage/logs/laravel.log && \
|
48 |
-
chmod 775 /app/storage/logs/laravel.log
|
49 |
|
50 |
EXPOSE 7860
|
51 |
|
52 |
# Run the script when the container starts
|
53 |
-
CMD ["sh", "-c", "php artisan queue:work & php artisan
|
|
|
45 |
chmod -R 775 /app/bootstrap/cache && \
|
46 |
touch /app/storage/logs/laravel.log && \
|
47 |
chown www-data:www-data /app/storage/logs/laravel.log && \
|
48 |
+
chmod -R 775 /app/storage/logs/laravel.log
|
49 |
|
50 |
EXPOSE 7860
|
51 |
|
52 |
# Run the script when the container starts
|
53 |
+
CMD ["sh", "-c", "php artisan queue:work & php artisan serve --host=0.0.0.0 --port=7860 & tail -f /dev/null"]
|