Skip to content

Commit 3473cfe

Browse files
committed
use more recent version of node in Dockerfile
1 parent 82e2ef7 commit 3473cfe

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
FROM ubuntu:22.04
22

3+
ENV DEBIAN_FRONTEND=noninteractive
34

45
# Install dependencies
6+
RUN apt update && apt install -y curl && curl -fsSL https://deb.nodesource.com/setup_22.x | bash -
7+
58
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 liblz4-tool brotli ripgrep gcc make python3-dev wget sudo nodejs npm python3.10-venv && \
9+
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 python3.10-venv && \
710
apt-get clean && rm -rf /var/lib/apt
811

912
# Install pip
@@ -12,8 +15,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
1215
# Install PhiloLogic
1316
COPY . /PhiloLogic4
1417
WORKDIR /PhiloLogic4
15-
RUN sh install.sh
16-
18+
RUN sh install.sh && mkdir /var/www/html/philologic
1719

1820
RUN a2enmod rewrite && a2enmod cgi && a2enmod brotli
1921

0 commit comments

Comments
 (0)