Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ WORKDIR /build

COPY pyproject.toml .

# Add Zscaler public cert, see https://github.com/cfpb/zscaler-cert.
ADD https://raw.githubusercontent.com/cfpb/zscaler-cert/3982ebd9edf9de9267df8d1732ff5a6f88e38375/zscaler_root_ca.pem /usr/local/share/ca-certificates/zscaler_root_ca.crt
RUN update-ca-certificates

RUN apk update --no-cache && apk upgrade --no-cache && \
pip install --no-cache-dir --prefix=/install .

Expand All @@ -19,6 +23,10 @@ COPY --from=builder /install /usr/local
WORKDIR /app
COPY app.py .

# Add Zscaler public cert, see https://github.com/cfpb/zscaler-cert.
ADD https://raw.githubusercontent.com/cfpb/zscaler-cert/3982ebd9edf9de9267df8d1732ff5a6f88e38375/zscaler_root_ca.pem /usr/local/share/ca-certificates/zscaler_root_ca.crt
RUN update-ca-certificates

RUN apk update --no-cache && apk upgrade --no-cache

USER appuser
Expand Down
Loading