From bd8458963a5e98a84072751a2fc9c9ed01dfc6f7 Mon Sep 17 00:00:00 2001 From: Vinicius Costa Date: Thu, 15 Sep 2022 14:01:21 -0300 Subject: [PATCH] Add Dockerfile --- Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4f1a821 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,15 @@ +FROM php:cli + +WORKDIR /app + +COPY ./h-m-m . + +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + libonig-dev xclip xsel wl-clipboard + +RUN docker-php-ext-install pcntl mbstring + +RUN chmod +x h-m-m + +CMD ["./h-m-m"] \ No newline at end of file