mirror of
https://github.com/robonen/canvas-3d.git
synced 2026-03-20 02:44:40 +00:00
feat(repo): two application replicas in docker-compose
This commit is contained in:
@@ -5,6 +5,7 @@ FROM node:${NODE_VERSION} AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# See .dockerignore
|
||||
COPY . .
|
||||
|
||||
RUN npm cache clean --force && npm ci && npm run build
|
||||
@@ -19,7 +20,6 @@ COPY --from=builder /build/src/.output .
|
||||
ENV HOST=0.0.0.0
|
||||
ENV PORT=3000
|
||||
|
||||
VOLUME /app
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["node", "./server/index.mjs"]
|
||||
ENTRYPOINT ["node", "./server/index.mjs"]
|
||||
|
||||
Reference in New Issue
Block a user