Skip to content

Commit

Permalink
Merge pull request #275 from RDFLib/lawson/alpine-version
Browse files Browse the repository at this point in the history
fix: pin alpine version
  • Loading branch information
lalewis1 authored Oct 8, 2024
2 parents 375af55 + 626afdc commit b51b72f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG VIRTUAL_ENV=/opt/venv
#
# Base
#
FROM python:${PYTHON_VERSION}-alpine AS base
FROM python:${PYTHON_VERSION}-alpine3.19 AS base
ARG POETRY_VERSION
ARG VIRTUAL_ENV
ENV VIRTUAL_ENV=${VIRTUAL_ENV} \
Expand Down Expand Up @@ -34,7 +34,7 @@ RUN ${VIRTUAL_ENV}/bin/pip3 install --no-cache-dir dist/*.whl
#
# Final
#
FROM python:${PYTHON_VERSION}-alpine AS final
FROM python:${PYTHON_VERSION}-alpine3.19 AS final

ARG PREZ_VERSION
ENV PREZ_VERSION=${PREZ_VERSION}
Expand All @@ -53,4 +53,4 @@ WORKDIR /app
# prez module is already built as a package and installed in $VIRTUAL_ENV as a library
COPY main.py pyproject.toml ./

ENTRYPOINT uvicorn prez.app:assemble_app --factory --host=${HOST:-0.0.0.0} --port=${PORT:-8000} --proxy-headers
ENTRYPOINT uvicorn prez.app:assemble_app --factory --host=${HOST:-0.0.0.0} --port=${PORT:-8000} --proxy-headers

0 comments on commit b51b72f

Please sign in to comment.