From ba4ee4f29972541178c2b99989f47fdc99d75d86 Mon Sep 17 00:00:00 2001 From: Benjamin Bolte Date: Mon, 20 May 2024 21:03:34 -0700 Subject: [PATCH] idk --- docker/Dockerfile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index c24ca669..540f0f16 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -2,9 +2,17 @@ FROM public.ecr.aws/lambda/python:3.11 +WORKDIR ${LAMBDA_TASK_ROOT} + # Installs the package in the container. -COPY . ${LAMBDA_TASK_ROOT} +COPY . . +# RUN pip install --no-cache-dir '.[dev]' RUN pip install --no-cache-dir . +# Runs tests inside the container to make sure it built correctly. +# RUN black --diff --check store +# RUN ruff check store +# RUN python -m pytest + # Runs the application. CMD ["store.app.aws.handler"]