-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
47 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
PORT=3000 | ||
PORT=8080 | ||
DATABASE_URL=${DATABASE_URL_PROD} | ||
JWT_SECRET=${JWT_SECRET_PROD} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
PORT=3000 | ||
PORT=8080 | ||
DATABASE_URL=${DATABASE_URL_UAT} | ||
JWT_SECRET=${JWT_SECRET_UAT} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Use the official Node.js image from Docker Hub. | ||
FROM node:18 | ||
|
||
# Set the working directory inside the container. | ||
WORKDIR /usr/src/app | ||
|
||
# Copy package.json and package-lock.json to the container. | ||
COPY package*.json ./ | ||
|
||
# Install application dependencies. | ||
RUN npm install | ||
|
||
# Copy the rest of your application code to the container. | ||
COPY . . | ||
|
||
# Expose the port that your application will run on. | ||
EXPOSE 8080 | ||
|
||
# Command to run your application. | ||
CMD [ "npm", "start" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters