Skip to content

Commit

Permalink
idk
Browse files Browse the repository at this point in the history
  • Loading branch information
codekansas committed May 21, 2024
1 parent 17c8718 commit ba4ee4f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit ba4ee4f

Please sign in to comment.