Skip to content

Commit

Permalink
Merge pull request #1802 from ebroda/feature-fix-docker-wsgi
Browse files Browse the repository at this point in the history
Update Dockerfile for correct version of mod_wsgi
  • Loading branch information
jh-RLI authored Aug 21, 2024
2 parents 320bc60 + 8aa700b commit 197878e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
FROM python:3.10.14

RUN apt-get update \
&& apt-get install -y apache2 apache2-dev libapache2-mod-wsgi-py3\
&& apt-get install -y apache2 apache2-dev \
&& rm -rf /var/lib/apt/lists/*

WORKDIR /app


COPY requirements.txt /app/requirements.txt

RUN pip install -r requirements.txt

RUN pip install mod_wsgi
RUN mod_wsgi-express module-config >> /etc/apache2/apache2.conf

COPY ./docker/apache2.conf /etc/apache2/conf-enabled/oeplatform.conf
COPY . /app
COPY ./docker/docker-entrypoint.sh /app/docker-entrypoint.sh
Expand Down

0 comments on commit 197878e

Please sign in to comment.