18 lines
301 B
Docker
18 lines
301 B
Docker
FROM node:20-alpine
|
|
|
|
WORKDIR /ui
|
|
|
|
RUN npm install -g pnpm
|
|
|
|
# Copy both framework and detection-app (preserves relative link structure)
|
|
COPY framework/ ./framework/
|
|
COPY detection-app/ ./detection-app/
|
|
|
|
WORKDIR /ui/detection-app
|
|
ENV CI=true
|
|
RUN pnpm install
|
|
|
|
EXPOSE 5175
|
|
|
|
CMD ["pnpm", "dev", "--host"]
|