SecrSchoolAI / Dockerfile
sanch1tx's picture
Update Dockerfile
c446b6e verified
raw
history blame contribute delete
294 Bytes
# Use official Node.js image
FROM node:18
WORKDIR /app
COPY . .
# Install dependencies
RUN npm install
RUN npm install lucide-react
# Build the app
RUN npm run build
# Expose port
EXPOSE 7860
# Run preview server
CMD ["npm", "run", "preview", "--", "--host", "0.0.0.0", "--port", "7860"]