Merge pull request #39 from d5ve/small-dockerfile-tweak

Dockerfile: Copy h-m-m to image as one of the final steps of the build
This commit is contained in:
Nader K. Rad 2022-10-24 10:55:53 +02:00 committed by GitHub
commit f06842a4bd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,14 +2,12 @@ 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 mbstring
RUN chmod +x h-m-m
COPY ./h-m-m .
CMD ["./h-m-m"]