Merge pull request #68 from Hestia-Homes/main

getting pyyaml fixed
This commit is contained in:
KhalimCK 2023-07-17 22:39:51 +01:00 committed by GitHub
commit 5e24029c08
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 12 deletions

View file

@ -1,5 +1,5 @@
# Pull base image
FROM python:3.10.12-alpine3.18
FROM python:3.10.12-alpine
# Set environment variables
ENV PYTHONDONTWRITEBYTECODE 1
@ -9,11 +9,12 @@ ENV PYTHONUNBUFFERED 1
WORKDIR /app
# Install system dependencies
RUN apt-get update && apt-get install -y netcat-openbsd
RUN apk update && apk add --no-cache gcc musl-dev python3-dev libffi-dev openssl-dev cargo netcat-openbsd
# Install python dependencies
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 -r requirements/base.txt
# Copy project

View file

@ -15,13 +15,3 @@ PyJWT==2.7.0
python-dotenv==1.0.0
python-jose==3.3.0
PyYAML==6.0
rsa==4.9
six==1.16.0
sniffio==1.3.0
starlette==0.27.0
typing_extensions==4.7.1
uvicorn==0.22.0
uvloop==0.17.0
watchfiles==0.19.0
websockets==11.0.3
boto3