-
-
Notifications
You must be signed in to change notification settings - Fork 53
Expand file tree
/
Copy pathDockerfile
More file actions
27 lines (18 loc) · 572 Bytes
/
Dockerfile
File metadata and controls
27 lines (18 loc) · 572 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
FROM golang:1.25.8-trixie AS builder
WORKDIR /workdir/
COPY . /workdir/
RUN apt-get update
RUN update-ca-certificates
RUN make build
FROM debian:trixie-slim
RUN apt-get update \
&& apt-get install -y fonts-noto-cjk \
&& apt-get install -y chromium \
&& apt-get install -y git \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
COPY --from=builder /workdir/runn ./usr/bin
ENTRYPOINT ["/entrypoint.sh"]
COPY scripts/entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh