diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 01efd80..5382b1d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,4 +1,4 @@ -name: Build and Push Docker Image +name: LGT Docker Build and Push Image on: pull_request: diff --git a/Dockerfile.dev b/Dockerfile.dev index 7de8d0b..0712154 100644 --- a/Dockerfile.dev +++ b/Dockerfile.dev @@ -21,25 +21,3 @@ CMD ["pnpm", "run", "dev"] # Specifies the port the container listens to EXPOSE 3000 - -## build docker file and run in dev mode - -# docker build -f Dockerfile.dev -t your-image-name . -# docker run --name container_name -p 3000:3000 -v $(pwd):/app image_name - -# Follow the real time logs again after stopping and starting the container -# docker logs -f container_name - -# project link: http://localhost:3000/ - -# or - -## build docker file and run in production mode - -# docker build -f Dockerfile.prod -t your-image-name . -# docker run --name container_name -p 3000:3000 your-image-name - -# Follow the real time logs again after stopping and starting the container -# docker logs -f container_name - -# project link: http://localhost:3000/ \ No newline at end of file diff --git a/README.md b/README.md index 32c9e5a..c368bb0 100644 --- a/README.md +++ b/README.md @@ -99,5 +99,5 @@ Build the image: - -t is to rename the file and you can add a tag that's included below after the colon ":" ``` -docker build -f Dockerfile.dev -t github_dev:dev . +docker build -f Dockerfile.dev -t ghcr.io/letsgettechnical/name:tag . ``` diff --git a/docker-compose.yml b/docker-compose.yml index 8de38e9..75986f5 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -2,7 +2,7 @@ version: '3.8' services: app-dev: - image: clue355/docker-test:dev + image: ghcr.io/letsgettechnical/dev:latest ports: - "3000:3000" volumes: