mirror of
https://github.com/davidguva/OpenVidReview.git
synced 2026-01-12 15:09:29 -06:00
21 lines
407 B
Docker
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"]
|