vision1.0.1 / Dockerfile
lattmamb's picture
Upload 229 files
aa916fd verified
raw
history blame contribute delete
288 Bytes
FROM node:18-alpine
WORKDIR /app
# Copy package files and install dependencies
COPY package*.json ./
RUN npm install
# Copy the rest of the application code
COPY . .
# Build the application
RUN npm run build
# Expose the port
EXPOSE 3000
# Start the application
CMD ["npm", "start"]