Files
syncfilm/Dockerfile
T
2025-06-10 01:17:19 +02:00

20 lines
426 B
Docker

# Use the official Node.js LTS image
FROM node:18
# Set the working directory inside the container
WORKDIR /app
# Copy package.json and package-lock.json to the container
COPY package*.json ./
# Install dependencies
RUN npm install --production
# Copy the rest of the application code to the container
COPY . .
# Expose the port the app runs on
EXPOSE 3000
# Start the application
CMD ["npm", "start"]