mirror of
https://github.com/teableio/teable
synced 2024-11-21 14:51:09 +00:00
fix: logs not show in container (#675)
* fix: logs not show in container * chore: move useless copy
This commit is contained in:
parent
a2f48f4597
commit
1554b3dd10
@ -85,7 +85,9 @@ FROM node:${NODE_VERSION}-bookworm-slim AS runner
|
||||
|
||||
ENV TZ=UTC \
|
||||
NODE_ENV=production \
|
||||
PORT=${NEXTJS_APP_PORT:-3000}
|
||||
PORT=${NEXTJS_APP_PORT:-3000}\
|
||||
BRAND_NAME=teable\
|
||||
NEXTJS_DIR=apps/nextjs-app
|
||||
|
||||
RUN set -ex; \
|
||||
npm install zx -g; \
|
||||
@ -157,11 +159,6 @@ COPY --from=post-builder --chown=nodejs:nodejs /app/packages ./packages
|
||||
COPY --from=post-builder --chown=nodejs:nodejs /app/node_modules ./node_modules
|
||||
COPY --from=post-builder --chown=nodejs:nodejs /app/package.json ./package.json
|
||||
|
||||
COPY --chown=nodejs:nodejs scripts/start.mjs ./scripts/start.mjs
|
||||
|
||||
EXPOSE ${PORT}
|
||||
|
||||
COPY scripts/entrypoint/docker-entrypoint.sh /
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
CMD ["scripts/start.mjs"]
|
||||
ENTRYPOINT ["node", "apps/nestjs-backend/dist/index.js"]
|
||||
|
Loading…
Reference in New Issue
Block a user