Skip to content

chores for container-setup #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Nov 4, 2024
Merged

Conversation

rabi-siddique
Copy link
Collaborator

@rabi-siddique rabi-siddique commented Nov 4, 2024

This PR makes the following changes:

  • Server Startup: Moves the command that starts the start-server.sh script from Docker Compose to the Dockerfile. This change makes it easier to start the server when deploying with Kubernetes.
  • Environment Settings: Updates the start-server.sh script by adding a new variable, NODE_ENV. This variable checks whether the server is in development or production mode and runs the correct script from package.json based on that setting.

@rabi-siddique rabi-siddique merged commit 1094505 into main Nov 4, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant