Skip to content

Commit

Permalink
Merge pull request #4 from alik-r/testing-deployement
Browse files Browse the repository at this point in the history
Make docker not use cache
  • Loading branch information
pinomo1 authored Nov 14, 2024
2 parents aa6411b + c8b5dbf commit a46540c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,10 @@ jobs:
# sudo chmod +x /usr/local/bin/docker-compose
# fi
# Build and start/restart containers with Docker Compose
sudo docker compose down # Stop existing containers, if any
sudo docker compose pull # Pull new images if they have changed
sudo docker compose up -d --build # Rebuild and start containers in detached mode
sudo docker compose down # Stop existing containers, if any
sudo docker compose pull # Pull new images if they have changed
sudo docker compose build --no-cache # Rebuild images
sudo docker compose up -d # Start containers in detached mode
- name: Update deployment Status (success)
if: success()
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
version: "3"

services:
backend:
build: ./backend
Expand Down
2 changes: 1 addition & 1 deletion frontend/style.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
body {
font-family: Arial, sans-serif;
background-color: #FF0000;
background-color: #2c3e50;
color: #ecf0f1;
margin: 0;
padding: 0;
Expand Down

0 comments on commit a46540c

Please sign in to comment.