2023-03-10 20:59:56 +00:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
|
2023-06-13 10:15:01 +00:00
|
|
|
FROM debian:11
|
2023-03-10 20:59:56 +00:00
|
|
|
|
2023-03-25 20:15:00 +00:00
|
|
|
EXPOSE 443 80
|
|
|
|
|
|
|
|
VOLUME /config
|
|
|
|
|
2023-05-28 10:44:28 +00:00
|
|
|
RUN apt-get update && apt-get install -y ca-certificates openssl
|
2023-05-27 17:11:33 +00:00
|
|
|
|
2023-05-28 10:44:28 +00:00
|
|
|
WORKDIR /app
|
2023-05-27 17:25:22 +00:00
|
|
|
|
2023-07-25 11:00:21 +00:00
|
|
|
COPY build/cosmos build/cosmos_gray.png build/Logo.png build/GeoLite2-Country.mmdb build/meta.json ./
|
2023-05-28 10:44:28 +00:00
|
|
|
COPY static ./static
|
2023-03-10 20:59:56 +00:00
|
|
|
|
2023-07-24 18:39:33 +00:00
|
|
|
CMD ["./cosmos"]
|