# syntax=docker/dockerfile:1 FROM node:22-alpine ARG IMAGE_API_VERSION RUN npm install -g pnpm RUN apk add git RUN git clone https://gitea.anomalistdesign.com/log-trade/image-api.git WORKDIR image-api RUN git checkout $IMAGE_API_VERSION RUN pnpm install --prod RUN pnpm build CMD node dist/server.js