Added build workflow
Some checks failed
Build Jtr app test image / test (push) Failing after 1m14s

This commit is contained in:
2024-10-19 14:18:17 +02:00
parent fffba70f78
commit 6b8d66559c
4 changed files with 641 additions and 553 deletions

View File

@@ -2,10 +2,9 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY . .
ARG API_URL="local"
ARG API_URL="https://api.jtr.local"
ENV JTR_API_URL=${API_URL}
ARG NODE_ENV="development"
ENV NODE_ENV=${NODE_ENV}
ENV NODE_ENV="production"
RUN npm install
RUN npm run build