mirror of
https://github.com/sqlfluff/sqlfluff
synced 2025-12-17 19:31:32 +00:00
Update the Dockerfile to use Python 3.12 (#6876)
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
FROM python:3.9-slim-bullseye
|
||||
FROM python:3.12-slim-bullseye
|
||||
|
||||
# Set separate working directory for easier debugging.
|
||||
WORKDIR /app
|
||||
|
||||
# Create virtual environment.
|
||||
ENV VIRTUAL_ENV /app/.venv
|
||||
ENV VIRTUAL_ENV=/app/.venv
|
||||
RUN python -m venv $VIRTUAL_ENV
|
||||
ENV PATH $VIRTUAL_ENV/bin:$PATH
|
||||
ENV PATH=$VIRTUAL_ENV/bin:$PATH
|
||||
RUN pip install --no-cache-dir --upgrade pip setuptools wheel pip-tools
|
||||
|
||||
# Install requirements separately
|
||||
|
||||
Reference in New Issue
Block a user