Merge pull request #69 from Hestia-Homes/main

getting pyyaml fixed
This commit is contained in:
KhalimCK 2023-07-17 22:46:04 +01:00 committed by GitHub
commit 8a4352b220
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -11,10 +11,14 @@ WORKDIR /app
# Install system dependencies
RUN apk update && apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo netcat-openbsd
# Install python dependencies
# This is required to install pyyaml==6.0 with the alpine image, it's still in the requirements file
# but will be skipped over since we've already installed it here
COPY ./requirements/base.txt ./requirements/base.txt
RUN pip install --upgrade pip
RUN pip install "cython<3.0.0" && pip install --no-build-isolation pyyaml==6.0
RUN pip install "cython<3.0.0"
RUN pip install --no-build-isolation pyyaml==6.0
RUN pip install -r requirements/base.txt
# Copy project