Initial commit
This commit is contained in:
commit
92653814f6
6 changed files with 1250 additions and 0 deletions
20
DockerFile
Normal file
20
DockerFile
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
# Use the official Node.js 22 image
|
||||
FROM node:22
|
||||
|
||||
# Create and change to the app directory
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
# Copy application dependency manifests to the container image
|
||||
COPY package*.json ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Copy application code
|
||||
COPY . .
|
||||
|
||||
# Expose the port the app runs on
|
||||
EXPOSE 5000
|
||||
|
||||
# Run the application
|
||||
CMD [ "node", "server.js" ]
|
||||
Loading…
Add table
Add a link
Reference in a new issue