Skip to content

Commit

Permalink
Added and removed a couple entried to correct error from entry in req…
Browse files Browse the repository at this point in the history
…uirements.txt

Added and removed a couple entried to correct error from entry in requirements.txt
  • Loading branch information
wickedyoda committed Aug 15, 2024
1 parent 4680454 commit c33b82e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
17 changes: 13 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN apk add --no-cache --virtual=build-dependencies \
python3-dev \
ruby-dev

# Install necessary system libraries for Python packages
# Install necessary system libraries for PyYAML and other Python packages
RUN apk add --no-cache \
python3 \
py3-pip \
Expand All @@ -38,13 +38,22 @@ RUN apk add --no-cache \
musl-dev \
libffi-dev \
openssl-dev \
nginx
nginx \
python3-dev \
g++ \
make \
jpeg-dev \
zlib-dev \
yaml-dev # Adding this for PyYAML

# Upgrade pip, setuptools, and wheel
RUN pip3 install --upgrade pip setuptools wheel

# Install Python modules from requirements.txt
RUN pip3 install -r requirements.txt --verbose
# Install PyYAML with binary wheels only
RUN pip3 install PyYAML --only-binary :all:

# Install all Python modules from requirements.txt
RUN pip3 install -r requirements.txt --no-cache-dir --verbose

# Install SASS via gem
RUN gem install sass --verbose
Expand Down
2 changes: 1 addition & 1 deletion backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ pycparser==2.20
pydantic==1.7.3
PyJWT==1.7.1
python-multipart==0.0.5
PyYAML==5.4

requests==2.24.0
six==1.15.0
sh==1.14.1
Expand Down

0 comments on commit c33b82e

Please sign in to comment.