Files
OpenVidReview/Dockerfile
2024-06-20 12:40:48 +02:00

21 lines
407 B
Docker

# Use the official Node.js 14 image as a base
FROM node:18.20.3
# Set the working directory in the container
WORKDIR /app
# Copy package.json and package-lock.json to the working directory
COPY package*.json ./
# Copy the rest of the application code
COPY . .
# Install dependencies
RUN npm install
# Expose the port your app runs on
EXPOSE 3000
# Command to run the application
CMD ["npm", "start"]