Add licensing and distribution metadata
This commit is contained in:
parent
30ae88f8a3
commit
5fb0c9c57b
1 changed files with 9231 additions and 63 deletions
|
|
@ -18,7 +18,7 @@ RUN apt-get update \
|
|||
|
||||
WORKDIR /src
|
||||
|
||||
COPY nuthatch.cabal cabal.project ./
|
||||
COPY nuthatch.cabal cabal.project cabal.project.freeze LICENSE ./
|
||||
RUN cabal update \
|
||||
&& cabal build --only-dependencies all
|
||||
|
||||
|
|
@ -57,6 +57,9 @@ RUN apt-get update \
|
|||
WORKDIR /app
|
||||
COPY sql ./sql
|
||||
COPY --from=frontend /web/dist ./web/dist
|
||||
COPY LICENSE THIRD_PARTY_NOTICES.txt /usr/share/doc/nuthatch/
|
||||
RUN dpkg-query --show --showformat='${binary:Package}\t${Version}\n' \
|
||||
| sort > /usr/share/doc/nuthatch/debian-packages.txt
|
||||
USER 10001:10001
|
||||
|
||||
FROM runtime-base AS test-runtime
|
||||
|
|
|
|||
Loading…
Reference in a new issue