Spaces:
Sleeping
Sleeping
Commit
·
3c5cb36
1
Parent(s):
954924b
Update Dockerfile
Browse files- Dockerfile +1 -10
Dockerfile
CHANGED
@@ -19,9 +19,6 @@ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local
|
|
19 |
# Set working directory to /app
|
20 |
WORKDIR /app
|
21 |
|
22 |
-
ARG CACHEBUST=1
|
23 |
-
RUN echo "Cache bust: $CACHEBUST" > /dev/null
|
24 |
-
|
25 |
# Check if we are in a local or online environment
|
26 |
ARG APP_ENV
|
27 |
|
@@ -49,11 +46,5 @@ RUN chown -R www-data:www-data /app/storage && \
|
|
49 |
|
50 |
EXPOSE 7860
|
51 |
|
52 |
-
# Copy the script into the container
|
53 |
-
COPY start.sh /start.sh
|
54 |
-
|
55 |
-
# Make the script executable
|
56 |
-
RUN chmod +x /start.sh
|
57 |
-
|
58 |
# Run the script when the container starts
|
59 |
-
CMD ["
|
|
|
19 |
# Set working directory to /app
|
20 |
WORKDIR /app
|
21 |
|
|
|
|
|
|
|
22 |
# Check if we are in a local or online environment
|
23 |
ARG APP_ENV
|
24 |
|
|
|
46 |
|
47 |
EXPOSE 7860
|
48 |
|
|
|
|
|
|
|
|
|
|
|
|
|
49 |
# Run the script when the container starts
|
50 |
+
CMD ["sh", "-c", "php artisan queue:work & php artisan discord:start --all & php artisan serve --host=0.0.0.0 --port=7860 & tail -f /dev/null"]
|