Compare commits

..
1 Commits
Author SHA1 Message Date
marc 6533ab3b30 entrypoint is front is a must 2022-09-19 10:59:19 +02:00
2 changed files with 3 additions and 23 deletions
-18
View File
@@ -1,18 +0,0 @@
#!/usr/bin/env bash
php artisan tinker
php artisan migrate:refresh --seed
php artisan migrate
php artisan migrate --force
php artisan migrate:refresh
php artisan migrate:rollback
php artisan db:seed
vendor/bin/phpunit
# less +G storage/logs/laravel.log
php artisan config:clear
php artisan cache:clear
php artisan route:clear
xhp artisan route:cache
php artisan config:cache
php artisan key:generate
php artisan jwt:secret
+3 -5
View File
@@ -1,18 +1,16 @@
FROM node:11.15.0
RUN mkdir -p /home/numeris
WORKDIR /home/numeris
ENV PATH /home/numeris/node_modules/.bin:$PATH
COPY package*.json /home/numeris/
# npm install
WORKDIR /home/numeris
RUN npm install
RUN npm install -g @angular/cli@7.3.9
COPY . /home/numeris
COPY . .
RUN npm rebuild node-sass
WORKDIR /home/numeris
ENTRYPOINT [ "ng", "s", "--host", "0.0.0.0" ]