This repository has been archived by the owner on May 12, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from gaurav-nelson/UpdatesAndFixes
Updates and fixes
- Loading branch information
Showing
8 changed files
with
273 additions
and
176 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,17 @@ | ||
FROM node:latest | ||
FROM node:alpine | ||
LABEL maintainer="https://github.com/gaurav-nelson" | ||
|
||
# Use the Open Container Image Annotation Spec (https://github.com/opencontainers/image-spec/blob/master/annotations.md) | ||
LABEL org.opencontainers.image.title="asciidoc-link-check" | ||
LABEL org.opencontainers.image.description="Checks if all hyperlinks in an asciidoc file are alive(or dead)." | ||
LABEL org.opencontainers.image.documentation="https://github.com/gaurav-nelson/asciidoc-link-check/blob/master/README.md" | ||
LABEL org.opencontainers.image.source="https://github.com/gaurav-nelson/asciidoc-link-check" | ||
|
||
# Install app dependencies | ||
COPY package.json /src/package.json | ||
COPY package.json /src/ | ||
WORKDIR /src | ||
RUN set -ex; \ | ||
npm install \ | ||
&& npm ls | ||
npm install | ||
# Bundle app source | ||
COPY . /src | ||
ENTRYPOINT [ "/src/asciidoc-link-check" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.