From 7ff9b898ade741ef8a18660dd707099630e2d39a Mon Sep 17 00:00:00 2001 From: Jen Hamon Date: Sun, 1 Oct 2023 22:58:42 -0400 Subject: [PATCH] Starter Dockerfile --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 00000000..517e0502 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM python:latest + +WORKDIR /usr/workspace/resin + +COPY . . + +RUN python3 -m pip install --upgrade poetry +RUN poetry install +RUN poetry build + +EXPOSE 8000 + +CMD [ "poetry", "run", "resin", "start" ]