Set frontend API URL at build time. (#18)
Reviewed-on: #18 Co-authored-by: Drew Galbraith <drew@tiramisu.one> Co-committed-by: Drew Galbraith <drew@tiramisu.one>
This commit is contained in:
parent
ef609f748d
commit
69f4a6f1ca
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