add docker labels
This commit is contained in:
parent
0cd159a0eb
commit
40b6b49d09
1 changed files with 8 additions and 0 deletions
|
@ -25,6 +25,14 @@ COPY --from=builder /app/package.json ./package.json
|
||||||
COPY --from=builder /app/.next/standalone ./
|
COPY --from=builder /app/.next/standalone ./
|
||||||
COPY --from=builder /app/.next/static ./.next/static
|
COPY --from=builder /app/.next/static ./.next/static
|
||||||
|
|
||||||
|
FROM runner AS homepage
|
||||||
|
LABEL org.opencontainers.image.title "Homepage"
|
||||||
|
LABEL org.opencontainers.image.description "A self-hosted services landing page, with docker and service integrations."
|
||||||
|
LABEL org.opencontainers.image.url="https://github.com/benphelps/homepage"
|
||||||
|
LABEL org.opencontainers.image.documentation='https://github.com/benphelps/homepage/wiki'
|
||||||
|
LABEL org.opencontainers.image.source='https://github.com/benphelps/homepage'
|
||||||
|
LABEL org.opencontainers.image.licenses='Apache-2.0'
|
||||||
|
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
ENV PORT 3000
|
ENV PORT 3000
|
||||||
CMD ["node", "server.js"]
|
CMD ["node", "server.js"]
|
||||||
|
|
Loading…
Add table
Reference in a new issue