Skip to content

Commit 4628215

Browse files
committed
Fix docker build
1 parent d0ce9e8 commit 4628215

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
FROM python:3.10-alpine
1+
FROM python:3.10-alpine3.15
22

33
ARG BBP_GIT_INFO=""
44

55
WORKDIR /src
66
COPY requirements.txt /
77

88
RUN apk update && \
9+
apk upgrade && \
910
apk add git rsync nodejs npm && \
1011
python -m venv /venv && \
1112
/venv/bin/python -m pip install --upgrade pip && \
@@ -19,8 +20,8 @@ RUN /venv/bin/python -m pip install -r /requirements.txt
1920
# Apply rdflib fixes
2021
RUN /venv/bin/python -m pip install git+https://github.com/avillar/rdflib.git@6.x
2122

22-
ENV PYTHONPATH /src/
23-
ENV PYTHONUNBUFFERED 1
23+
ENV PYTHONPATH=/src/
24+
ENV PYTHONUNBUFFERED=1
2425
ENV NODE_PATH=/src/node_modules
2526
ENV BBP_GIT_INFO_FILE=/GIT_INFO
2627

0 commit comments

Comments
 (0)