From acfb060bf1067b771cb3c6cf087f3964790a709c Mon Sep 17 00:00:00 2001 From: superpoussin22 Date: Sat, 21 Sep 2024 17:21:11 +0200 Subject: [PATCH] Correct casing (#5817) * Update Dockerfile correct casing * Update Dockerfile.database correct casing * Update Dockerfile.alpine correct casing * Update Dockerfile.non_root correct casing --- Dockerfile | 4 ++-- Dockerfile.alpine | 4 ++-- Dockerfile.database | 4 ++-- Dockerfile.non_root | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Dockerfile b/Dockerfile index c8e9956b2..c452c09ce 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG LITELLM_BUILD_IMAGE=python:3.11.8-slim # Runtime image ARG LITELLM_RUNTIME_IMAGE=python:3.11.8-slim # Builder stage -FROM $LITELLM_BUILD_IMAGE as builder +FROM $LITELLM_BUILD_IMAGE AS builder # Set the working directory to /app WORKDIR /app @@ -47,7 +47,7 @@ RUN pip install PyJWT --no-cache-dir RUN chmod +x build_admin_ui.sh && ./build_admin_ui.sh # Runtime stage -FROM $LITELLM_RUNTIME_IMAGE as runtime +FROM $LITELLM_RUNTIME_IMAGE AS runtime WORKDIR /app # Copy the current directory contents into the container at /app diff --git a/Dockerfile.alpine b/Dockerfile.alpine index 287cc439c..3a1b7fedd 100644 --- a/Dockerfile.alpine +++ b/Dockerfile.alpine @@ -5,7 +5,7 @@ ARG LITELLM_BUILD_IMAGE=python:3.11-alpine ARG LITELLM_RUNTIME_IMAGE=python:3.11-alpine # Builder stage -FROM $LITELLM_BUILD_IMAGE as builder +FROM $LITELLM_BUILD_IMAGE AS builder # Set the working directory to /app WORKDIR /app @@ -34,7 +34,7 @@ RUN pip install dist/*.whl RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt # Runtime stage -FROM $LITELLM_RUNTIME_IMAGE as runtime +FROM $LITELLM_RUNTIME_IMAGE AS runtime WORKDIR /app diff --git a/Dockerfile.database b/Dockerfile.database index 22084bab8..1e849b13a 100644 --- a/Dockerfile.database +++ b/Dockerfile.database @@ -4,7 +4,7 @@ ARG LITELLM_BUILD_IMAGE=python:3.11.8-slim # Runtime image ARG LITELLM_RUNTIME_IMAGE=python:3.11.8-slim # Builder stage -FROM $LITELLM_BUILD_IMAGE as builder +FROM $LITELLM_BUILD_IMAGE AS builder # Set the working directory to /app WORKDIR /app @@ -36,7 +36,7 @@ RUN pip install dist/*.whl RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt # Runtime stage -FROM $LITELLM_RUNTIME_IMAGE as runtime +FROM $LITELLM_RUNTIME_IMAGE AS runtime WORKDIR /app # Copy the current directory contents into the container at /app diff --git a/Dockerfile.non_root b/Dockerfile.non_root index c995939e5..847df4a57 100644 --- a/Dockerfile.non_root +++ b/Dockerfile.non_root @@ -4,7 +4,7 @@ ARG LITELLM_BUILD_IMAGE=python:3.11.8-slim # Runtime image ARG LITELLM_RUNTIME_IMAGE=python:3.11.8-slim # Builder stage -FROM $LITELLM_BUILD_IMAGE as builder +FROM $LITELLM_BUILD_IMAGE AS builder # Set the working directory to /app WORKDIR /app @@ -36,7 +36,7 @@ RUN pip install dist/*.whl RUN pip wheel --no-cache-dir --wheel-dir=/wheels/ -r requirements.txt # Runtime stage -FROM $LITELLM_RUNTIME_IMAGE as runtime +FROM $LITELLM_RUNTIME_IMAGE AS runtime WORKDIR /app # Copy the current directory contents into the container at /app