From ece82c7881ca919e6e1241e9d2aeb15d5cb5c564 Mon Sep 17 00:00:00 2001 From: Jimmy Date: Sun, 23 May 2021 20:47:44 +1200 Subject: [PATCH] Intial files --- Dockerfile | 6 ++++++ README.md | 7 ++++++- docker-compose.yml | 7 +++++++ src/main.py | 1 + 4 files changed, 20 insertions(+), 1 deletion(-) create mode 100644 Dockerfile create mode 100644 docker-compose.yml create mode 100644 src/main.py diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2abe5c0 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,6 @@ +FROM python:slim-buster + + +COPY src /src + +ENTRYPOINT [ "python", "src/main.py" ] \ No newline at end of file diff --git a/README.md b/README.md index 14d8d74..effae43 100644 --- a/README.md +++ b/README.md @@ -1 +1,6 @@ -# resource-pack-updater \ No newline at end of file +# resource-pack-updater + + +##Run + +```docker-compose up --build``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..5b60d60 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,7 @@ +version: "3.9" + +services: + resource-pack-updater: + build: . + ports: + - 8080:8080 diff --git a/src/main.py b/src/main.py new file mode 100644 index 0000000..a3ea3c6 --- /dev/null +++ b/src/main.py @@ -0,0 +1 @@ +print("Hello") \ No newline at end of file