Skip to content

Commit

Permalink
fix: enable pcre-compatible routing
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock committed Oct 15, 2023
1 parent 114a43b commit 7155c45
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ MAINTAINER Alex Lubbock <[email protected]>
ENV PYTHONUNBUFFERED 1
ENV THUNOR_HOME=/thunor

RUN apt update && apt install -y libpq-dev gcc libmagic1 \
RUN apt update && apt install -y libpq-dev gcc libmagic1 libpcre3-dev \
&& rm -rf /var/lib/apt/lists/*

RUN mkdir $THUNOR_HOME
Expand All @@ -12,7 +12,7 @@ WORKDIR $THUNOR_HOME
ADD requirements.txt $THUNOR_HOME
ADD thunor $THUNOR_HOME/thunor
RUN pip3 install --no-cache-dir -r requirements.txt
RUN dpkg --purge gcc
RUN dpkg --purge gcc libpcre3-dev
CMD ["uwsgi", "--master", "--socket", ":8000", "--module", "thunordjango.wsgi", "--uid", "www-data", "--gid", "www-data", "--enable-threads"]
ADD manage.py $THUNOR_HOME
ADD thunordjango $THUNOR_HOME/thunordjango
Expand Down

0 comments on commit 7155c45

Please sign in to comment.