Skip to content

Commit

Permalink
Fix docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
avillar committed Feb 12, 2025
1 parent d0ce9e8 commit 4628215
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
FROM python:3.10-alpine
FROM python:3.10-alpine3.15

ARG BBP_GIT_INFO=""

WORKDIR /src
COPY requirements.txt /

RUN apk update && \
apk upgrade && \
apk add git rsync nodejs npm && \
python -m venv /venv && \
/venv/bin/python -m pip install --upgrade pip && \
Expand All @@ -19,8 +20,8 @@ RUN /venv/bin/python -m pip install -r /requirements.txt
# Apply rdflib fixes
RUN /venv/bin/python -m pip install git+https://github.com/avillar/[email protected]

ENV PYTHONPATH /src/
ENV PYTHONUNBUFFERED 1
ENV PYTHONPATH=/src/
ENV PYTHONUNBUFFERED=1
ENV NODE_PATH=/src/node_modules
ENV BBP_GIT_INFO_FILE=/GIT_INFO

Expand Down

0 comments on commit 4628215

Please sign in to comment.