Fix Version from Tag not picked up (#705)

This commit is contained in:
Yuhong Sun
2023-11-06 20:01:20 -08:00
committed by GitHub
parent abf9cc3248
commit 4f64444f0f
7 changed files with 9 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ FROM python:3.11.4-slim-bookworm
# Default DANSWER_VERSION, typically overriden during builds by GitHub Actions.
ARG DANSWER_VERSION=0.2-dev
ENV DANSWER_VERSION=${DANSWER_VERSION}
RUN echo "DANSWER_VERSION: ${DANSWER_VERSION}"
COPY ./requirements/model_server.txt /tmp/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /tmp/requirements.txt