From b3005ba2c5124220b6ef5d6b6ab59583feec5fe9 Mon Sep 17 00:00:00 2001 From: cleverson Date: Fri, 29 Mar 2024 12:01:32 -0300 Subject: [PATCH] =?UTF-8?q?modifica=C3=A7=C3=A3o=20nos=20comandos=20para?= =?UTF-8?q?=20deploy?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 0845a73..1937f87 100644 --- a/Makefile +++ b/Makefile @@ -11,10 +11,9 @@ status: sudo systemctl status app build: - docker compose up --build &&\ - docker compose down + docker compose up --build -d -deploy: +deploy: build stop sudo cp ./app.service /etc/systemd/system/ && \ sudo systemctl enable app && \ sudo systemctl restart app