-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|