Skip to content

Commit

Permalink
checking
Browse files Browse the repository at this point in the history
  • Loading branch information
rahul-soshte committed Dec 27, 2023
1 parent 79704f6 commit 92956b4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,7 @@ jobs:
# TODO update APT and install Docker from the script so we don't need to do it manually on the server
script: |
docker login ghcr.io -u $GITHUB_USERNAME -p $GITHUB_TOKEN
# docker pull ghcr.io/rahul-soshte/next-docker-github-actions/next_test_image:latest
# docker stop next-test-app
# docker system prune -f

# docker run --name next-test-app -dit -p 12345:3000 ghcr.io/rahul-soshte/next-docker-github-actions/next_test_image:latest
docker pull ghcr.io/rahul-soshte/next-docker-github-actions/next_test_image:latest
docker stop next-test-app
docker system prune -f
docker run --name next-test-app -dit -p 12345:3000 ghcr.io/rahul-soshte/next-docker-github-actions/next_test_image:latest
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ COPY --from=builder /app/pages ./pages
USER nextjs

# Expose
EXPOSE 3005
EXPOSE 3000
ENV NEXT_TELEMETRY_DISABLED 1
CMD ["yarn", "start"]

0 comments on commit 92956b4

Please sign in to comment.