You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
283 B
14 lines
283 B
7 months ago
|
# syntax=docker/dockerfile:1
|
||
|
|
||
|
FROM node:21-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
|
||
|
|
||
|
CMD node server.js
|