ContentMint / Dockerfile
truegleai
fix: add Dockerfile to root for HF Space
92a7238
raw
history blame contribute delete
268 Bytes
FROM node:20-alpine
WORKDIR /app
# Copy package files first for layer caching
COPY frontend/package*.json ./
RUN npm install
# Copy source
COPY frontend/ ./
# Build the app
RUN npm run build
ENV PORT=7860
ENV HOSTNAME="0.0.0.0"
EXPOSE 7860
CMD ["npm", "start"]