Skip to content

Commit

Permalink
Merge pull request #5 from thisiscleverson/development
Browse files Browse the repository at this point in the history
modificação nos comandos para deploy
  • Loading branch information
thisiscleverson authored Mar 29, 2024
2 parents 0da9595 + b3005ba commit 2d53626
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 2d53626

Please sign in to comment.