Spaces:
Runtime error
Runtime error
Anuj-Panthri
commited on
Commit
•
020147e
1
Parent(s):
86f0c03
updated dockerfile
Browse files- Dockerfile +6 -2
Dockerfile
CHANGED
@@ -5,5 +5,9 @@ EXPOSE 8000
|
|
5 |
COPY ./ /app
|
6 |
WORKDIR /app
|
7 |
|
8 |
-
|
9 |
-
RUN
|
|
|
|
|
|
|
|
|
|
5 |
COPY ./ /app
|
6 |
WORKDIR /app
|
7 |
|
8 |
+
|
9 |
+
RUN cp .env.example .env;
|
10 |
+
RUN composer install;
|
11 |
+
RUN php artisan key:generate;
|
12 |
+
RUN php artisan migrate --force;
|
13 |
+
RUN php artisan serve --host 0.0.0.0 --port 8000
|