FROM node:22-slim
# unzip/tar needed for SDK upload extraction (see routes/sdk.js)
RUN apt-get update \
 && apt-get install -y --no-install-recommends unzip tar ca-certificates \
 && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY package*.json ./
RUN npm install --omit=dev
COPY . .
EXPOSE 3000
CMD ["node", "src/index.js"]
