Set frontend API URL at build time. #18
1 changed files with 2 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ FROM node:20-alpine AS build-env
|
|||
COPY . /app/
|
||||
COPY --from=development-dependencies-env /app/node_modules /app/node_modules
|
||||
WORKDIR /app
|
||||
ENV VITE_API_URL=https://tasks.tiramisu.one
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue