From f8a0b6d6bab9815a4502450ffe7fe83049ee1701 Mon Sep 17 00:00:00 2001 From: tiago Date: Tue, 5 Dec 2023 19:44:25 +0000 Subject: [PATCH] removed trash from dockerfile --- docker/Dockerfile | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5f416d6..563a875 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,9 +1,6 @@ # Dockerfile for the laravel.io application - FROM ubuntu:22.04 -ARG SEED_DATA="false" - RUN apt update # install system dependencies RUN apt install software-properties-common git -y @@ -34,14 +31,9 @@ RUN composer install RUN php artisan key:generate -# seed data if build arg is provided -RUN if [ "$SEED_DATA" = true ]; then php artisan migrate --seed; fi - RUN npm install RUN npm run build #Open on port 8000 to all addresses -# COPY entrypoint.sh . -# RUN chmod +x entrypoint.sh -ENTRYPOINT php artisan migrate --seed; php artisan serve --port=8000 --host=0.0.0.0 +ENTRYPOINT php artisan migrate; php artisan serve --port=8000 --host=0.0.0.0 EXPOSE 8000