doo / Dockerfile
imseldrith's picture
Update Dockerfile
78ba07a verified
raw
history blame contribute delete
347 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 ["npm", "start"]