Skip to content

Commit 19c38d7

Browse files
committed
fix docker build
1 parent 8b2847d commit 19c38d7

2 files changed

Lines changed: 10 additions & 4 deletions

File tree

Dockerfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,19 @@ FROM ubuntu:22.04
33

44
# Install dependencies
55
RUN apt-get update && apt-get upgrade -y && \
6-
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libxml2-dev libxslt-dev zlib1g-dev apache2 libgdbm-dev python3-pip liblz4-tool brotli ripgrep gcc make python3-dev wget sudo nodejs npm && \
6+
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libxml2-dev libxslt-dev zlib1g-dev apache2 libgdbm-dev liblz4-tool brotli ripgrep gcc make python3-dev wget sudo nodejs npm python3.10-venv && \
77
apt-get clean && rm -rf /var/lib/apt
88

9+
# Install pip
10+
RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
11+
912
# Install PhiloLogic
1013
COPY . /PhiloLogic4
1114
WORKDIR /PhiloLogic4
12-
RUN sh install.sh && a2enmod rewrite && a2enmod cgi && a2enmod brotli
15+
RUN sh install.sh
16+
17+
18+
RUN a2enmod rewrite && a2enmod cgi && a2enmod brotli
1319

1420

1521
# Configure global variables

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ authors = [
1111
]
1212
license = { file = "LICENSE" }
1313
description = "A concordance search engine for TEI-XML"
14-
readme = "README" # If your readme file is named README
15-
urls = { Homepage = "https://github.com/ARTFL-Project/PhiloLogic5" }
14+
readme = "README"
15+
urls = { Homepage = "https://github.com/ARTFL-Project/PhiloLogic4" }
1616

1717
requires-python = ">=3.10"
1818
dependencies = [

0 commit comments

Comments
 (0)