Trent Larson
8 months ago
5 changed files with 25 additions and 8 deletions
@ -0,0 +1,13 @@ |
|||
# 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 |
Loading…
Reference in new issue