face-analysis / Dockerfile
asterioskryos's picture
Upload Dockerfile with huggingface_hub
32b8d0d verified
Raw
History Blame Contribute Delete
401 Bytes
FROM node:22-slim AS frontend
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
FROM python:3.12-slim
WORKDIR /app
COPY --from=frontend /app/dist /app/dist
COPY server/ /app/server/
COPY docker-entrypoint.sh /
RUN chmod +x /docker-entrypoint.sh
RUN pip install --no-cache-dir -r /app/server/requirements.txt
EXPOSE 7860
ENTRYPOINT ["/docker-entrypoint.sh"]