doo / Dockerfile
imseldrith's picture
Update Dockerfile
6ad2b0c verified
raw
history blame
352 Bytes
# Use an official Node.js runtime as a parent image
FROM node:14
# Set the working directory
WORKDIR /app
# Copy package.json and install dependencies
COPY package.json ./
RUN npm install
# Copy the rest of the application code
COPY . .
# Expose the port your app runs on
EXPOSE 7860
# Define the command to run your app
CMD ["node", "server.js"]