mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-28 21:05:17 +02:00
Fix all LegacyKeyValueFormat docker warnings
This commit is contained in:
@@ -101,7 +101,7 @@ COPY ./scripts/force_delete_connector_by_id.py /app/scripts/force_delete_connect
|
|||||||
# Put logo in assets
|
# Put logo in assets
|
||||||
COPY ./assets /app/assets
|
COPY ./assets /app/assets
|
||||||
|
|
||||||
ENV PYTHONPATH /app
|
ENV PYTHONPATH=/app
|
||||||
|
|
||||||
# Default command which does nothing
|
# Default command which does nothing
|
||||||
# This container is used by api server and background which specify their own CMD
|
# This container is used by api server and background which specify their own CMD
|
||||||
|
@@ -55,6 +55,6 @@ COPY ./shared_configs /app/shared_configs
|
|||||||
# Model Server main code
|
# Model Server main code
|
||||||
COPY ./model_server /app/model_server
|
COPY ./model_server /app/model_server
|
||||||
|
|
||||||
ENV PYTHONPATH /app
|
ENV PYTHONPATH=/app
|
||||||
|
|
||||||
CMD ["uvicorn", "model_server.main:app", "--host", "0.0.0.0", "--port", "9000"]
|
CMD ["uvicorn", "model_server.main:app", "--host", "0.0.0.0", "--port", "9000"]
|
||||||
|
@@ -81,6 +81,6 @@ RUN pip install --no-cache-dir --upgrade \
|
|||||||
-r /tmp/dev-requirements.txt
|
-r /tmp/dev-requirements.txt
|
||||||
COPY ./tests/integration /app/tests/integration
|
COPY ./tests/integration /app/tests/integration
|
||||||
|
|
||||||
ENV PYTHONPATH /app
|
ENV PYTHONPATH=/app
|
||||||
|
|
||||||
CMD ["pytest", "-s", "/app/tests/integration"]
|
CMD ["pytest", "-s", "/app/tests/integration"]
|
||||||
|
@@ -25,10 +25,10 @@ COPY . .
|
|||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
# needed to get the `standalone` dir we expect later
|
# needed to get the `standalone` dir we expect later
|
||||||
ENV NEXT_PRIVATE_STANDALONE true
|
ENV NEXT_PRIVATE_STANDALONE=true
|
||||||
|
|
||||||
# Disable automatic telemetry collection
|
# Disable automatic telemetry collection
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
# Environment variables must be present at build time
|
# Environment variables must be present at build time
|
||||||
# https://github.com/vercel/next.js/discussions/14030
|
# https://github.com/vercel/next.js/discussions/14030
|
||||||
@@ -77,7 +77,7 @@ RUN rm -rf /usr/local/lib/node_modules
|
|||||||
# ENV NODE_ENV production
|
# ENV NODE_ENV production
|
||||||
|
|
||||||
# Disable automatic telemetry collection
|
# Disable automatic telemetry collection
|
||||||
ENV NEXT_TELEMETRY_DISABLED 1
|
ENV NEXT_TELEMETRY_DISABLED=1
|
||||||
|
|
||||||
# Don't run production as root
|
# Don't run production as root
|
||||||
RUN addgroup --system --gid 1001 nodejs
|
RUN addgroup --system --gid 1001 nodejs
|
||||||
|
Reference in New Issue
Block a user