Skip to content

Commit 3170b64

Browse files
committed
dockerfile fixup
1 parent f3c0a03 commit 3170b64

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG NODE_VERSION=22-bullseye-slim
1+
ARG NODE_VERSION=22.14.0-bookworm-slim
22

33
# Use separate builder to retrieve & build node modules
44
FROM node:${NODE_VERSION} AS builder
@@ -34,6 +34,7 @@ RUN apt-get update && \
3434
jq \
3535
python3 \
3636
python3-pip \
37+
python3-venv \
3738
&& rm -rf /var/lib/apt/lists/*
3839

3940
ENV BALLOT_VERSION 1.0.4
@@ -48,6 +49,8 @@ COPY --from=builder /usr/src/app/supervisord /usr/local/bin/
4849
ENV NO_PROXY localhost,127.0.0.1
4950
ENV no_proxy localhost,127.0.0.1
5051

52+
RUN python3 -m venv /opt/venv
53+
ENV PATH="/opt/venv/bin:$PATH"
5154
RUN pip install -r utapi/requirements.txt
5255

5356
## This section duplicates S3C Federation Dockerfile, this needs to be refactored

0 commit comments

Comments
 (0)