Skip to content

Commit

Permalink
Switch to pre-built Docker image for demo server
Browse files Browse the repository at this point in the history
Updated docker-compose.demo.prod.yml to use a pre-built Docker image from GitHub Container Registry instead of building from context. Also renamed the workflow file to docker-publish-demo.yml and changed the image name format for consistency.
  • Loading branch information
manu committed Aug 22, 2024
1 parent 0740e8d commit 9329a7b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ env:
# Use docker.io for Docker Hub if empty
REGISTRY: ghcr.io
# github.repository as <account>/<repo>
IMAGE_NAME: ${{ github.repository }}
IMAGE_NAME: ${{ github.repository }}-server-demo


jobs:
Expand Down
7 changes: 1 addition & 6 deletions docker-compose.demo.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,7 @@ services:
- server
server:
restart: unless-stopped
build:
context: ./server-demo
target: production
env_file: .env
environment:
NODE_ENV: production
image: "ghcr.io/squirrelcorporation/squirrelserversmanager-demo:master"
client:
restart: unless-stopped
depends_on:
Expand Down

0 comments on commit 9329a7b

Please sign in to comment.