0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2024-12-16 20:26:19 -05:00

chore: add dev_features_enabled argument to dockerfile (#4576)

This commit is contained in:
Darcy Ye 2023-09-22 15:45:34 +08:00 committed by GitHub
parent 368e0231a9
commit 6a9d3e37d8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,6 +17,10 @@ COPY . .
RUN node .scripts/update-parcelrc.js
RUN pnpm i
### Set if dev features enabled ###
ARG dev_features_enabled
ENV DEV_FEATURES_ENABLED=${dev_features_enabled}
ARG applicationinsights_connection_string
ENV APPLICATIONINSIGHTS_CONNECTION_STRING=${applicationinsights_connection_string}
RUN pnpm -r build