Skip to content

Commit

Permalink
Merge branch 'main' into css-minimizer
Browse files Browse the repository at this point in the history
  • Loading branch information
alubbock authored Sep 4, 2024
2 parents a0b7745 + 37f2c5d commit 806c5a0
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "thunor"]
path = thunor
path = thunorcore
url = https://github.com/alubbock/thunor.git
5 changes: 2 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
FROM python:3.12-slim-bullseye AS thunorweb_base
LABEL org.opencontainers.image.authors="[email protected]"
ENV PYTHONUNBUFFERED 1
ENV PYTHONUNBUFFERED=1
ENV THUNOR_HOME=/thunor

RUN apt update && apt install -y libpq-dev gcc libmagic1 libpcre3-dev media-types \
Expand All @@ -10,13 +10,12 @@ RUN mkdir $THUNOR_HOME
WORKDIR $THUNOR_HOME

ADD requirements.txt $THUNOR_HOME
ADD thunor $THUNOR_HOME/thunor
ADD thunorcore $THUNOR_HOME/thunorcore
RUN pip3 install --no-cache-dir -r requirements.txt
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
RUN cd $THUNOR_HOME/thunor && python3 setup.py install
ADD thunorweb $THUNOR_HOME/thunorweb
ARG THUNORWEB_VERSION=unknown
RUN printf "def get_versions():\n return {'version': '$THUNORWEB_VERSION'}\n" > $THUNOR_HOME/thunorweb/_version.py
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
-e ./thunor[test]
-e ./thunorcore[test]
numpy==2.1.1
pandas==2.2.2
plotly==5.24.0
Expand Down
1 change: 0 additions & 1 deletion thunor
Submodule thunor deleted from 933354
1 change: 1 addition & 0 deletions thunorcore
Submodule thunorcore added at 98c536

0 comments on commit 806c5a0

Please sign in to comment.