Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@

# Running this container will start a language server that listens for TCP connections on port 2088
# Every connection will be run in a forked child process

# Please note that before building the image, you have to install dependencies with `composer install`
FROM composer AS builder

COPY ./ /app
RUN composer install

FROM php:7-cli
MAINTAINER Felix Becker <felix.b@outlook.com>
LABEL maintainer="Felix Becker <felix.b@outlook.com>"

RUN docker-php-ext-configure pcntl --enable-pcntl
RUN docker-php-ext-install pcntl
COPY ./php.ini /usr/local/etc/php/conf.d/

COPY ./ /srv/phpls
COPY --from=builder /app /srv/phpls

WORKDIR /srv/phpls

Expand Down