We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2152bb2 commit a44d229Copy full SHA for a44d229
services/feed-requests/Dockerfile
@@ -27,10 +27,10 @@ RUN curl -sf https://gobinaries.com/tj/node-prune | sh
27
RUN npm prune --production
28
RUN /usr/local/bin/node-prune
29
30
-FROM node:22-alpine AS prod
+FROM node:22-slim AS prod
31
32
-# Alpine has a minimal CA bundle; add full certs to avoid SSL verification errors
33
-RUN apk --no-cache add ca-certificates && update-ca-certificates
+# Slim image doesn't include CA certs; install them for sites like apps.usfa.fema.gov
+RUN apt-get update && apt-get install -y --no-install-recommends ca-certificates && rm -rf /var/lib/apt/lists/*
34
ENV NODE_EXTRA_CA_CERTS=/etc/ssl/certs/ca-certificates.crt
35
36
WORKDIR /usr/src/app
0 commit comments