mirror of
https://github.com/standardebooks/web.git
synced 2025-07-19 04:44:48 -04:00
Update Dockerfile to include things needed for deploy-ebook-to-www
I do not know why, but if you try to combine both the apt-get lines, the server crashes. This works, and doesn’t cause any problems apart from being a little messier in looks, so 🤷♂️
This commit is contained in:
parent
8a13046496
commit
3b53b4b991
1 changed files with 7 additions and 0 deletions
|
@ -2,8 +2,15 @@ FROM ubuntu:20.04
|
|||
|
||||
RUN apt-get update
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y composer php-fpm php-cli php-gd php-xml php-apcu php-mbstring php-intl apache2 apache2-utils libfcgi0ldbl task-spooler
|
||||
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y sudo imagemagick openjdk-8-jre python3 pip calibre
|
||||
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN pip install standardebooks
|
||||
|
||||
RUN sudo addgroup committers
|
||||
RUN sudo adduser se
|
||||
RUN sudo usermod -g committers se
|
||||
|
||||
RUN mkdir -p /standardebooks.org/web
|
||||
RUN mkdir /var/log/local
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue