mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-22 18:41:35 +00:00
enhancement(dockerfiles): add/update oci labels
Signed-off-by: Erik Michelson <github@erik.michelson.eu>
This commit is contained in:
parent
eac2a7b23e
commit
08eaff862d
2 changed files with 8 additions and 2 deletions
|
@ -53,10 +53,10 @@ RUN --mount=type=cache,sharing=locked,uid=1000,gid=1000,target=/tmp/.yarn \
|
|||
## Stage 3: Final image, only production dependencies
|
||||
FROM base as prod
|
||||
|
||||
LABEL org.opencontainers.image.title='HedgeDoc production image'
|
||||
LABEL org.opencontainers.image.title='HedgeDoc production backend image'
|
||||
LABEL org.opencontainers.image.url='https://hedgedoc.org'
|
||||
LABEL org.opencontainers.image.source='https://github.com/hedgedoc/hedgedoc'
|
||||
LABEL org.opencontainers.image.documentation='https://github.com/hedgedoc/hedgedoc/blob/develop/docs/docker/README.md'
|
||||
LABEL org.opencontainers.image.documentation='https://github.com/hedgedoc/hedgedoc/blob/develop/docs/content/dev/docker.md'
|
||||
LABEL org.opencontainers.image.licenses='AGPL-3.0'
|
||||
|
||||
USER node
|
||||
|
|
|
@ -37,6 +37,12 @@ FROM base
|
|||
ENV NODE_ENV=production
|
||||
ENV NEXT_TELEMETRY_DISABLED=1
|
||||
|
||||
LABEL org.opencontainers.image.title='HedgeDoc production frontend image'
|
||||
LABEL org.opencontainers.image.url='https://hedgedoc.org'
|
||||
LABEL org.opencontainers.image.source='https://github.com/hedgedoc/hedgedoc'
|
||||
LABEL org.opencontainers.image.documentation='https://github.com/hedgedoc/hedgedoc/blob/develop/docs/content/dev/docker.md'
|
||||
LABEL org.opencontainers.image.licenses='AGPL-3.0'
|
||||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
COPY --from=builder --chown=node:node /usr/src/app/frontend/.next/standalone ./
|
||||
|
|
Loading…
Reference in a new issue