diff options
author | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:41:01 -0500 |
---|---|---|
committer | Freya Murphy <freya@freyacat.org> | 2025-02-07 15:41:01 -0500 |
commit | cb56ecfd97807c7e2d448fc0a493b658809e67e4 (patch) | |
tree | f426323af30fd37c91b5fb43e02ffafd844e8f03 | |
parent | updates (diff) | |
download | rit.wtf-cb56ecfd97807c7e2d448fc0a493b658809e67e4.tar.gz rit.wtf-cb56ecfd97807c7e2d448fc0a493b658809e67e4.tar.bz2 rit.wtf-cb56ecfd97807c7e2d448fc0a493b658809e67e4.zip |
docker
-rw-r--r-- | Dockerfile | 8 | ||||
-rw-r--r-- | docker-compose.yml | 6 |
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' |