Skip to content

chores for container-setup#2

Merged
rabi-siddique merged 2 commits intomainfrom
rs-chores-for-container
Nov 4, 2024
Merged

chores for container-setup#2
rabi-siddique merged 2 commits intomainfrom
rs-chores-for-container

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
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