diff --git a/VERSION b/VERSION index 7e099ec..a77d7d9 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.6 \ No newline at end of file +1.2.7 \ No newline at end of file diff --git a/dockerfile b/dockerfile index d5aa093..bf5d89e 100644 --- a/dockerfile +++ b/dockerfile @@ -1,5 +1,5 @@ # Builder stage -FROM python:3.11-slim-bookworm as builder +FROM python:3.11-slim-bookworm AS builder WORKDIR /app @@ -7,15 +7,10 @@ COPY requirements.txt . RUN pip install --no-cache-dir --prefix=/install -r requirements.txt # Final stage -FROM python:3.11-slim-bookworm as final +FROM python:3.11-slim-bookworm AS final RUN apt-get update && apt-get install -y --no-install-recommends \ - libglib2.0-0 \ - libsm6 \ - libxrender1 \ - libxext6 \ libgomp1 \ - libgl1 \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* @@ -43,5 +38,5 @@ USER appuser EXPOSE 5000 -ENV FLASK_ENV production +ENV FLASK_ENV=production CMD ["./run.sh"] diff --git a/requirements.txt b/requirements.txt index 2bd3019..ddcb97d 100644 Binary files a/requirements.txt and b/requirements.txt differ