-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile.dev
24 lines (19 loc) · 938 Bytes
/
Dockerfile.dev
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM --platform=linux/amd64 alpine:latest@sha256:21dc6063fd678b478f57c0e13f47560d0ea4eeba26dfc947b2a4f81f686b9f45
WORKDIR /app
RUN apk add --no-cache \
nodejs \
socat=1.8.0.1-r0 \
ca-certificates=20241121-r1 \
dnsmasq=2.90-r3 \
jq=1.7.1-r0 \
&& rm -rf /var/cache/apk/*
COPY --from=ghcr.io/0xfreysa/sovereign-freysa-agent:latest /prebuild/dist/ /app/dist/
COPY --from=ghcr.io/0xfreysa/sovereign-freysa-agent:latest /prebuild/node_modules/ /app/node_modules/
COPY /sovereign/bin/enclave /app/enclave
COPY start.sh /app/start.sh
ARG TIMESTAMP=202501010000.00
RUN find /app -exec touch -h -t ${TIMESTAMP} {} \; \
&& find /app -type d -exec chmod 755 {} \; \
&& find /app -type f -exec chmod 644 {} \; \
&& chmod 755 /app/enclave /app/start.sh
CMD /app/start.sh