Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions frontend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
FROM node:22.15.0 AS build
COPY ./distiller /distiller

WORKDIR /distiller
COPY ./distiller/package.json ./distiller/yarn.lock ./
RUN yarn install
COPY ./distiller .
ARG VITE_API_URL
RUN cd /distiller && yarn && VITE_API_URL=$VITE_API_URL yarn build
RUN VITE_API_URL=$VITE_API_URL yarn build

FROM nginx
COPY --from=build /distiller/dist/ /usr/share/nginx/html
Expand Down
3 changes: 3 additions & 0 deletions frontend/distiller/.env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
VITE_INTERACTEM_URL="http://localhost:8080"
VITE_API_URL="http://localhost:8000/api/v1"
VITE_NATS_SERVER_URL="ws://localhost:9222"
Loading
Loading