summaryrefslogtreecommitdiff
path: root/docker/server/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'docker/server/Dockerfile')
-rw-r--r--docker/server/Dockerfile13
1 files changed, 13 insertions, 0 deletions
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"]