Skip to content

Commit

Permalink
fix-and-update-docker-dependencies (#86)
Browse files Browse the repository at this point in the history
* fix-and-update-docker-dependencies

* update-lambda-docker
  • Loading branch information
gabrielsoltz committed Mar 11, 2024
1 parent fd98abe commit 9015216
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
@@ -1,9 +1,9 @@
FROM alpine:3.18
FROM alpine:3.19

WORKDIR /metahub
COPY . /metahub/

RUN apk upgrade --no-cache busybox \
&& apk add -U --no-cache git=2.40.1-r0 python3=3.11.6-r0 py3-pip=23.1.2-r0 \
&& apk add -U --no-cache git=2.43.0-r0 python3=3.11.8-r0 py3-pip=23.3.1-r0 \
&& rm -rf /var/cache/apk/* \
&& pip3 install --no-cache-dir -r requirements.txt
&& pip3 install --no-cache-dir -r requirements.txt --break-system-packages
2 changes: 1 addition & 1 deletion Dockerfile-lambda
@@ -1,4 +1,4 @@
FROM public.ecr.aws/lambda/python:3.9
FROM public.ecr.aws/lambda/python:3.12

COPY requirements.txt ${LAMBDA_TASK_ROOT}
RUN pip3 install --no-cache-dir -r requirements.txt --target "${LAMBDA_TASK_ROOT}"
Expand Down

0 comments on commit 9015216

Please sign in to comment.