Skip to content
Draft
Show file tree
Hide file tree
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
3 changes: 3 additions & 0 deletions .github/workflows/build-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ jobs:
- mock-service-provider-fca-low
- api-partner
- fc-exploitation-v2
- statisticat
include:
- instance: core-fca-low
context: ./back
Expand All @@ -120,6 +121,8 @@ jobs:
context: ./pcdbapi
- instance: fc-exploitation-v2
context: ./admin
- instance: statisticat
context: ./statisticat
arch:
- amd64
- arm64
Expand Down
18 changes: 18 additions & 0 deletions statisticat/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
FROM alpine:3.22.4

WORKDIR /app

# Install curl, jq, AWS CLI, and Python3
RUN apk add --no-cache \
curl \
jq \
aws-cli \
python3 \
py3-pip

# Install logcli (Grafana Loki) from precompiled binary
RUN curl -L https://github.com/grafana/loki/releases/download/v3.0.0/logcli-linux-amd64.zip -o /tmp/logcli.zip && \
unzip /tmp/logcli.zip -d /usr/local/bin && \
chmod +x /usr/local/bin/logcli-linux-amd64 && \
ln -s /usr/local/bin/logcli-linux-amd64 /usr/local/bin/logcli && \
rm /tmp/logcli.zip
Loading