[skip ci] Reduce layers in docker (#58)
* Reduce layers in docker * Reduce docker layers * Sign contributor agreement
This commit is contained in:
parent
83da4237a4
commit
7cd0a7a67e
3 changed files with 5 additions and 13 deletions
2
.clabot
2
.clabot
|
@ -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."
|
||||
}
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
Loading…
Reference in a new issue