Files
Portfolio-Project/Dockerfile

14 lines
189 B
Docker

FROM node:22
# Copy package*.json
COPY package*.json .
# Install dependencies
RUN npm install
# Copy the rest of the application code
COPY . .
# Build the application
RUN npm run build