From 6df3d321d9b67c4541f50158b087d37c4b22e886 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Sun, 12 Nov 2023 11:16:56 +0100 Subject: initial commit --- docker/server/Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 docker/server/Dockerfile (limited to 'docker/server/Dockerfile') diff --git a/docker/server/Dockerfile b/docker/server/Dockerfile new file mode 100644 index 0000000..7f37ef4 --- /dev/null +++ b/docker/server/Dockerfile @@ -0,0 +1,13 @@ +FROM php:alpine + +COPY --from=composer /usr/bin/composer /usr/bin/composer + +WORKDIR /usr/src/app + +COPY composer.json . +COPY src src +RUN composer install + +COPY docker/server/server.php . + +CMD ["php", "./server.php"] -- cgit v1.2.3