Add current project files
This commit is contained in:
parent
250ecbe1e5
commit
34e4244d65
32 changed files with 6470 additions and 0 deletions
20
backend/DockerFile
Normal file
20
backend/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