diff --git a/app/dockerfile b/app/dockerfile new file mode 100644 index 0000000..de4d73e --- /dev/null +++ b/app/dockerfile @@ -0,0 +1,17 @@ +FROM python:3.9-alpine + +WORKDIR /flask_app + +COPY /app/requirements.txt . + +RUN pip install --no-cache-dir -r requirements.txt + +RUN pip install pytest + +EXPOSE 8080 + +COPY app/ . + +COPY tests/ app/tests/ + +CMD [ "python", "app.py" ]