Spaces:
Running
Running
fix: increase body size limit in docker image (#1280)
Browse files* Body size attempt 2
* update
* replace ARG by ENV
- .env +1 -0
- Dockerfile +2 -0
.env
CHANGED
@@ -161,3 +161,4 @@ USAGE_LIMITS=`{}`
|
|
161 |
ALLOW_INSECURE_COOKIES=false # recommended to keep this to false but set to true if you need to run over http without tls
|
162 |
METRICS_PORT=
|
163 |
LOG_LEVEL=info
|
|
|
|
161 |
ALLOW_INSECURE_COOKIES=false # recommended to keep this to false but set to true if you need to run over http without tls
|
162 |
METRICS_PORT=
|
163 |
LOG_LEVEL=info
|
164 |
+
BODY_SIZE_LIMIT=15728640
|
Dockerfile
CHANGED
@@ -17,6 +17,7 @@ FROM builder-production as builder
|
|
17 |
|
18 |
ARG APP_BASE=
|
19 |
ARG PUBLIC_APP_COLOR=blue
|
|
|
20 |
|
21 |
RUN --mount=type=cache,target=/app/.npm \
|
22 |
npm set cache /app/.npm && \
|
@@ -55,6 +56,7 @@ ENV INCLUDE_DB=${INCLUDE_DB}
|
|
55 |
ARG APP_BASE=
|
56 |
# tailwind requires the primary theme to be known at build time so it must be passed as a build arg
|
57 |
ARG PUBLIC_APP_COLOR=blue
|
|
|
58 |
|
59 |
# install dotenv-cli
|
60 |
RUN npm install -g dotenv-cli
|
|
|
17 |
|
18 |
ARG APP_BASE=
|
19 |
ARG PUBLIC_APP_COLOR=blue
|
20 |
+
ENV BODY_SIZE_LIMIT=15728640
|
21 |
|
22 |
RUN --mount=type=cache,target=/app/.npm \
|
23 |
npm set cache /app/.npm && \
|
|
|
56 |
ARG APP_BASE=
|
57 |
# tailwind requires the primary theme to be known at build time so it must be passed as a build arg
|
58 |
ARG PUBLIC_APP_COLOR=blue
|
59 |
+
ENV BODY_SIZE_LIMIT=15728640
|
60 |
|
61 |
# install dotenv-cli
|
62 |
RUN npm install -g dotenv-cli
|