There was an error while loading. Please reload this page.
1 parent 1705583 commit 7303143Copy full SHA for 7303143
Dockerfile
@@ -1,17 +1,19 @@
1
-
2
# Running this container will start a language server that listens for TCP connections on port 2088
3
# Every connection will be run in a forked child process
4
5
-# Please note that before building the image, you have to install dependencies with `composer install`
+FROM composer AS builder
+
6
+COPY ./ /app
7
+RUN composer install
8
9
FROM php:7-cli
-MAINTAINER Felix Becker <felix.b@outlook.com>
10
+LABEL maintainer="Felix Becker <felix.b@outlook.com>"
11
12
RUN docker-php-ext-configure pcntl --enable-pcntl
13
RUN docker-php-ext-install pcntl
14
COPY ./php.ini /usr/local/etc/php/conf.d/
15
-COPY ./ /srv/phpls
16
+COPY --from=builder /app /srv/phpls
17
18
WORKDIR /srv/phpls
19
0 commit comments