feat: initial hiveops-guide service — standalone guide content API and admin SPA
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
FROM node:20-alpine AS builder
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM node:20-alpine
|
||||
RUN npm install -g serve
|
||||
WORKDIR /app
|
||||
COPY --from=builder /app/dist ./dist
|
||||
COPY entrypoint.sh ./entrypoint.sh
|
||||
RUN chmod +x ./entrypoint.sh
|
||||
EXPOSE 5188
|
||||
ENTRYPOINT ["./entrypoint.sh"]
|
||||
CMD ["serve", "-s", "dist", "-l", "5188"]
|
||||
Reference in New Issue
Block a user