From 41d0aecb71ba1916c884f354f21141043e5015b4 Mon Sep 17 00:00:00 2001 From: Hannah Stepanek Date: Fri, 19 Apr 2024 12:54:25 -0700 Subject: [PATCH] Move app container into .github containers area --- .github/containers/python/Dockerfile | 6 ++++++ {python/tests => .github/containers/python}/flask.py | 0 2 files changed, 6 insertions(+) create mode 100644 .github/containers/python/Dockerfile rename {python/tests => .github/containers/python}/flask.py (100%) diff --git a/.github/containers/python/Dockerfile b/.github/containers/python/Dockerfile new file mode 100644 index 0000000..f4f95dc --- /dev/null +++ b/.github/containers/python/Dockerfile @@ -0,0 +1,6 @@ +FROM python:3.12.3-bullseye +RUN pip install flask==3.0.3 +ENV FLASK_APP=flask +COPY flask.py . +CMD flask run + diff --git a/python/tests/flask.py b/.github/containers/python/flask.py similarity index 100% rename from python/tests/flask.py rename to .github/containers/python/flask.py