graphql-actions dev mode

This commit is contained in:
chandi 2024-11-25 17:21:23 +01:00
parent 7c0c55a9da
commit 56d8f768e4
4 changed files with 6 additions and 5 deletions

View File

@ -2,6 +2,7 @@
# enables
# - html5: webpack dev server
# - bbb-grahql-actions: watch & restart
DEV_MODE=true
# accept self signed certificates

View File

@ -295,8 +295,6 @@ services:
depends_on:
- redis
- apps-akka
environment:
BBB_REDIS_HOST: redis
networks:
bbb-net:
ipv4_address: 10.7.7.30

View File

@ -18,8 +18,6 @@ RUN cd /src/dist && \
# ------------------------------
FROM node:22-bookworm-slim
COPY --from=builder /src/dist /app
RUN groupadd -g 2062 app \
&& useradd -m -u 2063 -g app app
@ -28,7 +26,9 @@ USER app
WORKDIR /app
ENV SERVER_HOST 0.0.0.0
ENV BBB_REDIS_HOST redis
ENV NODE_ENV=production
COPY --from=builder /src/dist /app
CMD [ "node", "/app/bbb-graphql-actions.js" ]

View File

@ -11,4 +11,6 @@ ENTRYPOINT [ "/dev-entrypoint.sh" ]
WORKDIR /app
ENV SERVER_HOST 0.0.0.0
ENV BBB_REDIS_HOST redis
CMD [ "npm install && npm start" ]