Skip to content

Commit

Permalink
fix: logs not show in container (#675)
Browse files Browse the repository at this point in the history
* fix: logs not show in container

* chore: move useless copy
  • Loading branch information
tea-artist committed Jun 25, 2024
1 parent a2f48f4 commit 1554b3d
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions dockers/teable/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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; \
Expand Down Expand Up @@ -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"]

0 comments on commit 1554b3d

Please sign in to comment.