From 0fb808df4309dca4130eeac3e21ef1e557ea62b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9gory=20BITTAN?= Date: Wed, 20 Sep 2023 10:01:31 +0200 Subject: [PATCH] Install PHP extension gettext in Docker Image. Added a Docker Compose file. --- Dockerfile | 1 + compose.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 compose.yaml diff --git a/Dockerfile b/Dockerfile index 103683f..cb929f8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,6 +10,7 @@ ENV PDF_DEMO_LINK=true RUN apt update && \ apt install -y gettext-base librsvg2-bin pdftk imagemagick potrace && \ + docker-php-ext-install gettext && \ rm -rf /var/lib/apt/lists/* COPY . /usr/local/signaturepdf diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..30cdd03 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,6 @@ +version: '3.7' +services: + signaturepdf: + build: . + ports: + - "8080:80" \ No newline at end of file