Skip to content

Commit bb1c41f

Browse files
committed
..
Signed-off-by: ramseymcgrath <ramseymcgrath@gmail.com>
1 parent e13bcb2 commit bb1c41f

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

proxy-golang/Dockerfile

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,16 @@ RUN CGO_ENABLED=0 go build -o proxyserver .
1616
FROM alpine:3.18
1717
RUN apk --no-cache add ca-certificates
1818

19-
# Create a non-root user (optional)
20-
RUN addgroup -S appgroup && adduser -S appuser -G appgroup
21-
USER appuser
22-
2319
WORKDIR /app
2420
COPY --from=builder /app/proxyserver /app/proxyserver
2521

2622
EXPOSE 8080
2723

24+
ENV INDEXER_URLS_JSON=/config/indexer_urls.json
25+
ENV API_KEYS_FILE=/config/api_keys.json
26+
ENV PARAMETERS_CONFIG_FILE = /config/allowed_parameters.json
27+
ENV DD_AGENT_HOST=localhost
28+
ENV DD_DOGSTATSD_PORT=8125
29+
ENV DD_IAST_ENABLED=true
30+
2831
CMD ["/app/proxyserver"]

0 commit comments

Comments
 (0)