Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
ENV CTRLPLANE_VERSION=$VERSION
ENV NODE_ENV=production
ENV HOSTNAME=0.0.0.0
ENV AUTH_TRUST_HOST=true

Check warning on line 64 in apps/api/Dockerfile

View workflow job for this annotation

GitHub Actions / build / build

Sensitive data should not be used in the ARG or ENV commands

SecretsUsedInArgOrEnv: Do not use ARG or ENV instructions for sensitive data (ENV "AUTH_TRUST_HOST") More info: https://docs.docker.com/go/dockerfile/rule/secrets-used-in-arg-or-env/
ENV PORT=8081

WORKDIR /app/apps/api/dist/src/

CMD ["node", "index.js"]
CMD ["node", "--import", "./instrumentation.js", "index.js"]
Comment on lines 67 to +69
Loading