AiVidGen / Dockerfile
Boombaaa's picture
Create Dockerfile
5bea037 verified
raw
history blame contribute delete
307 Bytes
# Use the official Node.js image
FROM node:18
# Create an app directory
WORKDIR /app
# Copy package files and install
COPY package*.json ./
RUN npm install
# Copy all other files (like server.js and your public folder)
COPY . .
# Expose the correct port
EXPOSE 7860
# Start the app
CMD ["npm", "start"]