Raffael-Kultyshev's picture
Upload folder using huggingface_hub
5c6cc05 verified
raw
history blame contribute delete
679 Bytes
FROM node:18-slim
# Install system deps required by hyparquet (Arrow) and ffmpeg for video metadata
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential \
git \
wget \
ca-certificates \
ffmpeg \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install dependencies first (better layer caching)
COPY package.json package-lock.json ./
RUN npm ci
# Copy application source
COPY . .
# Environment configuration for our dataset + Hugging Face Space port
ENV PORT=7860
ENV REPO_ID="raffaelkultyshev/humanoid-robots-training-dataset"
# Build the Next.js app
RUN npm run build
EXPOSE 7860
CMD ["npm", "start"]