Client: Don't hard code the API endpoint anymore

This commit is contained in:
Donkie
2023-05-14 20:21:25 +02:00
parent 77a3f65111
commit 329c4c4675
2 changed files with 15 additions and 1 deletions

View File

@@ -3,6 +3,8 @@ FROM node:16-alpine as client-builder
COPY ./client /client
WORKDIR /client
RUN npm install
RUN echo "VITE_APIURL=/api/v1" > .env.production
RUN npm run build
FROM python:3.11-alpine as runner