-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
37 lines (23 loc) · 782 Bytes
/
Dockerfile
File metadata and controls
37 lines (23 loc) · 782 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
ARG BASE_IMAGE=public.ecr.aws/lambda/python:3.14@sha256:5f5771323f57ad96e086b7cdc9a52d20d66d202a8ee06ee1225601015f7b7b7b
FROM ${BASE_IMAGE}
ENV REFRESHED_AT=2025-12-22
LABEL Name="senzing/self-signed-certificate" \
Maintainer="support@senzing.com" \
Version="1.0.5"
HEALTHCHECK CMD ["/app/healthcheck.sh"]
# Run as "root" for system installation.
USER root
# Install packages via PIP.
COPY requirements.txt .
RUN pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& pip3 install awslambdaric \
&& rm requirements.txt
# Copy files from repository.
COPY ./rootfs /
COPY self_signed_certificate.py ./
# Make non-root container.
USER 1001
# Runtime execution.
ENV SENZING_DOCKER_LAUNCHED=true
ENTRYPOINT ["/var/task/self_signed_certificate.py"]