Untitled

 avatar
unknown
plain_text
14 days ago
341 B
3
Indexable
# Use official Node.js image as base image
FROM node:14

# Set working directory in container
WORKDIR /usr/src/app

# Copy package.json and install dependencies
COPY package.json .

# Copy the rest of the app's source code
COPY . .

# Expose port the app runs on
EXPOSE 8080

# Command to run the app
CMD ["node", "app.js"]
Leave a Comment