mirror of
https://github.com/nadrad/h-m-m.git
synced 2024-06-01 02:42:11 +02:00
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:
commit
f06842a4bd
|
@ -2,14 +2,12 @@ FROM php:cli
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
COPY ./h-m-m .
|
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y --no-install-recommends \
|
&& apt-get install -y --no-install-recommends \
|
||||||
libonig-dev xclip xsel wl-clipboard
|
libonig-dev xclip xsel wl-clipboard
|
||||||
|
|
||||||
RUN docker-php-ext-install mbstring
|
RUN docker-php-ext-install mbstring
|
||||||
|
|
||||||
RUN chmod +x h-m-m
|
COPY ./h-m-m .
|
||||||
|
|
||||||
CMD ["./h-m-m"]
|
CMD ["./h-m-m"]
|
||||||
|
|
Loading…
Reference in a new issue