summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile8
-rw-r--r--docker-compose.yml6
2 files changed, 14 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
new file mode 100644
index 0000000..0fef266
--- /dev/null
+++ b/Dockerfile
@@ -0,0 +1,8 @@
+FROM alpine:latest
+
+RUN apk add --no-cache php
+
+COPY . /app
+WORKDIR /app
+
+CMD ["php", "-S", "0.0.0.0:80"]
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..0eae993
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,6 @@
+services:
+ rit:
+ build: .
+ restart: unless-stopped
+ ports:
+ - '80:80'