diff --git a/Dockerfile b/Dockerfile index d6f46a3..7878be9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,9 +2,9 @@ FROM node:16-alpine as client-builder COPY ./client /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 FROM python:3.11-alpine as python-builder