mirror of
https://github.com/danog/telerpc.git
synced 2024-11-26 20:14:48 +01:00
Bump docker image
This commit is contained in:
parent
3349db7024
commit
e35bd3f3a7
16
Dockerfile
16
Dockerfile
@ -1,19 +1,15 @@
|
|||||||
FROM danog/madelineproto:latest
|
FROM danog/madelineproto:latest
|
||||||
|
|
||||||
WORKDIR /app
|
|
||||||
ADD src /app
|
|
||||||
ADD composer.json /app
|
|
||||||
ADD server.php /app
|
|
||||||
ADD db.php /app
|
|
||||||
ADD entrypoint.sh /
|
|
||||||
|
|
||||||
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
RUN php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" && \
|
||||||
php composer-setup.php && \
|
php composer-setup.php && \
|
||||||
php -r "unlink('composer-setup.php');" && \
|
php -r "unlink('composer-setup.php');" && \
|
||||||
mv composer.phar /usr/local/bin/composer && \
|
mv composer.phar /usr/local/bin/composer && \
|
||||||
\
|
\
|
||||||
apk add procps git unzip github-cli openssh && \
|
apk add procps git unzip github-cli openssh
|
||||||
composer update
|
|
||||||
|
|
||||||
ENTRYPOINT ["/entrypoint.sh"]
|
RUN git clone https://github.com/danog/telerpc /app
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
ENTRYPOINT ["/app/entrypoint.sh"]
|
||||||
|
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
git pull
|
||||||
|
|
||||||
composer update
|
composer update
|
||||||
|
|
||||||
php server.php server
|
php server.php server
|
Loading…
Reference in New Issue
Block a user