[skip ci] Reduce layers in docker (#58)

* Reduce layers in docker

* Reduce docker layers

* Sign contributor agreement
This commit is contained in:
Jogai 2023-07-24 20:39:33 +02:00 committed by GitHub
parent 83da4237a4
commit 7cd0a7a67e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 13 deletions

View file

@ -1,4 +1,4 @@
{
"contributors": ["azukaar", "jwr1"],
"contributors": ["azukaar", "jwr1", "Jogai"],
"message": "We require contributors to sign our [Contributor License Agreement](https://github.com/azukaar/Cosmos-Server/blob/master/cla.md). In order for us to review and merge your code, add yourself to the .clabot file as contributor, as a way of signing the CLA."
}

View file

@ -10,11 +10,7 @@ RUN apt-get update && apt-get install -y ca-certificates openssl
WORKDIR /app
COPY build/cosmos .
COPY build/cosmos_gray.png .
COPY build/Logo.png .
COPY build/GeoLite2-Country.mmdb .
COPY build/meta.json .
COPY build/cosmos build/cosmos_gray.png build/Logo.png build/GeoLite2-Country.mmdb COPY build/meta.json .
COPY static ./static
CMD ["./cosmos"]
CMD ["./cosmos"]

View file

@ -12,11 +12,7 @@ RUN apt-get install -y ca-certificates openssl
WORKDIR /app
COPY build/cosmos .
COPY build/cosmos_gray.png .
COPY build/Logo.png .
COPY build/GeoLite2-Country.mmdb .
COPY build/meta.json .
COPY build/cosmos build/cosmos_gray.png build/Logo.png build/GeoLite2-Country.mmdb build/meta.json .
COPY static ./static
CMD ["./cosmos"]
CMD ["./cosmos"]