Improved dockerfile client builder
This commit is contained in:
@@ -2,9 +2,9 @@ FROM node:16-alpine as client-builder
|
|||||||
|
|
||||||
COPY ./client /client
|
COPY ./client /client
|
||||||
WORKDIR /client
|
WORKDIR /client
|
||||||
RUN npm install
|
RUN npm ci
|
||||||
|
|
||||||
RUN echo "VITE_APIURL=/api/v1" > .env.production
|
RUN rm -f .env && echo "VITE_APIURL=/api/v1" > .env.production
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM python:3.11-alpine as python-builder
|
FROM python:3.11-alpine as python-builder
|
||||||
|
|||||||
Reference in New Issue
Block a user