2023-03-10 20:59:56 +00:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
|
2023-05-03 10:26:56 +00:00
|
|
|
FROM --platform=linux/arm64 arm64v8/debian
|
2023-03-10 20:59:56 +00:00
|
|
|
|
2023-03-25 20:15:00 +00:00
|
|
|
EXPOSE 443 80
|
2023-03-10 20:59:56 +00:00
|
|
|
|
|
|
|
VOLUME /config
|
|
|
|
|
2023-05-03 10:13:11 +00:00
|
|
|
RUN apt-get clean
|
|
|
|
RUN apt-get update
|
|
|
|
RUN apt-get install -y ca-certificates openssl
|
2023-03-25 20:15:00 +00:00
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY build/cosmos .
|
2023-04-28 18:53:12 +00:00
|
|
|
COPY build/cosmos_gray.png .
|
2023-05-01 10:00:45 +00:00
|
|
|
COPY build/Logo.png .
|
2023-04-30 12:03:14 +00:00
|
|
|
COPY build/GeoLite2-Country.mmdb .
|
2023-04-28 18:53:12 +00:00
|
|
|
COPY build/meta.json .
|
2023-03-25 20:15:00 +00:00
|
|
|
COPY static ./static
|
2023-03-10 20:59:56 +00:00
|
|
|
|
|
|
|
CMD ["./cosmos"]
|