This commit is contained in:
parent
b669833e5e
commit
1c9eef7285
@ -1,20 +1,15 @@
|
||||
# Specify the base image
|
||||
FROM node:24
|
||||
|
||||
# Set the working directory in the container
|
||||
#working directory in the container
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package.json and package-lock.json
|
||||
COPY package*.json ./
|
||||
|
||||
# Install app dependencies
|
||||
RUN npm install
|
||||
|
||||
# Bundle app source
|
||||
COPY . .
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3000
|
||||
|
||||
# Start the app
|
||||
CMD [ "node", "backend.js" ]
|
||||
Loading…
Reference in New Issue
Block a user