Skip to content

Commit

Permalink
use more recent version of node in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
clovis committed May 16, 2024
1 parent 82e2ef7 commit 3473cfe
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
FROM ubuntu:22.04

ENV DEBIAN_FRONTEND=noninteractive

# Install dependencies
RUN apt update && apt install -y curl && curl -fsSL https://deb.nodesource.com/setup_22.x | bash -

RUN apt-get update && apt-get upgrade -y && \
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 && \
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 && \
apt-get clean && rm -rf /var/lib/apt

# Install pip
Expand All @@ -12,8 +15,7 @@ RUN wget https://bootstrap.pypa.io/get-pip.py && python3 get-pip.py
# Install PhiloLogic
COPY . /PhiloLogic4
WORKDIR /PhiloLogic4
RUN sh install.sh

RUN sh install.sh && mkdir /var/www/html/philologic

RUN a2enmod rewrite && a2enmod cgi && a2enmod brotli

Expand Down

0 comments on commit 3473cfe

Please sign in to comment.