Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
updated system librarys for deploy
  • Loading branch information
wickedyoda committed Aug 15, 2024
1 parent 37f0c27 commit 747d4e7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,22 @@ RUN apk add --no-cache --virtual=build-dependencies \
libffi-dev \
ruby-dev

# Install main packages
# Install necessary system libraries for Python packages
RUN apk add --no-cache \
python3 \
py3-pip \
mysql-dev \
postgresql-dev \
gcc \
musl-dev \
libffi-dev \
openssl-dev \
nginx

# Install Python modules
RUN pip3 install --upgrade pip setuptools wheel
RUN pip3 install -r requirements.txt --verbose

# Install SASS via gem
RUN gem install sass --verbose

Expand All @@ -56,4 +64,5 @@ COPY ./backend/ ./

# Expose ports and define the command to run the application
EXPOSE 5000
CMD ["python3", "app.py"]
CMD ["python3", "app.py"]

0 comments on commit 747d4e7

Please sign in to comment.