Raffael-Kultyshev's picture
Initial viewer for humanoid robots dataset
6f0655f
raw
history blame
668 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/mini_tug_tape_to_bowl"
# Build the Next.js app
RUN npm run build
EXPOSE 7860
CMD ["npm", "start"]