addition of new dashboard
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,6 +1,17 @@
|
||||
FROM node:25
|
||||
ADD src/package*.json /app/
|
||||
FROM node:25 AS builder
|
||||
ADD frontend/package*.json /app/
|
||||
WORKDIR /app
|
||||
RUN npm install
|
||||
ADD src /app
|
||||
ADD frontend /app
|
||||
RUN npm run build
|
||||
|
||||
FROM node:25
|
||||
ADD backend/package*.json /app/
|
||||
WORKDIR /app
|
||||
RUN npm install
|
||||
ADD backend /app
|
||||
COPY --from=builder /app/dist/index.html /app/ui/
|
||||
COPY --from=builder /app/dist/favicon.* /app/http/public/
|
||||
COPY --from=builder /app/dist/_astro /app/http/public/_astro
|
||||
COPY --from=builder /app/dist/fonts /app/http/public/fonts
|
||||
CMD ["npm", "start"]
|
||||
|
||||
Reference in New Issue
Block a user