Skip to content

Commit

Permalink
Use diufferent compiler to fix build failure during pip install
Browse files Browse the repository at this point in the history
  • Loading branch information
baszoetekouw committed Jan 27, 2025
1 parent 4c42910 commit 170645c
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions Dockerfile.sbs-server
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ RUN \
apt-get -y install \
curl \
git \
build-essential \
clang \
xz-utils \
bzip2 \
pkgconf \
python3-dev \
default-libmysqlclient-dev \
Expand All @@ -21,6 +23,9 @@ RUN \
# Set the default workdir
WORKDIR /opt

# set default C compiler
ENV CC clang

# Install SBS
COPY sbs.tar.xz /opt/sbs.tar.xz

Expand All @@ -43,4 +48,4 @@ EXPOSE 8080

ENTRYPOINT ["/entrypoint.sh"]
#CMD ["bash"]
CMD ["/usr/local/bin/gunicorn --worker-class eventlet --workers 8 --bind 0.0.0.0:8080 server.__main__:app"]
CMD ["/usr/local/bin/gunicorn --worker-class eventlet --workers 8 --bind 0.0.0.0:8080 server.__main__:app"]

0 comments on commit 170645c

Please sign in to comment.