POS / Dockerfile
ronylu's picture
Upload 7 files
98fd3c7 verified
Raw
History Blame Contribute Delete
278 Bytes
FROM node:20-alpine
WORKDIR /app
# Install deps first (better caching)
COPY package.json package-lock.json* ./
RUN npm install
# Copy source
COPY . .
# Build the app
RUN npm run build
# Expose HF default port
EXPOSE 7860
# Serve the built site
CMD ["npm", "run", "start"]