diff --git a/DOCKERFILE b/DOCKERFILE deleted file mode 100644 index 83af53b..0000000 --- a/DOCKERFILE +++ /dev/null @@ -1,22 +0,0 @@ -FROM python:3.12-slim - -# Create a non-root user -RUN useradd -m -u 1000 user -USER user - -# Set environment variables -ENV PATH="/home/user/.local/bin:$PATH" -ENV PYTHONUNBUFFERED=1 - -# Set the working directory -WORKDIR /app - -# Copy and install requirements -COPY --chown=user ./requirements.txt requirements.txt -RUN pip install --no-cache-dir --upgrade -r requirements.txt - -# Copy the application code -COPY --chown=user . . - -# Command to run the application -CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]