-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
bohendo
committed
Aug 12, 2022
1 parent
7e0eff6
commit cff7cb1
Showing
4 changed files
with
67 additions
and
394 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,15 @@ ENV HOME /root | |
ENV PATH $PATH:./node_modules/.bin:/root/node_modules/.bin | ||
RUN apk add --update --no-cache bash curl g++ gcc git jq make python3 | ||
# npm 7.x.x doesn't seem to respect the --production flag so should we stick with 6.x.x? | ||
RUN npm config set unsafe-perm true && npm install -g [email protected] | ||
RUN npm install [email protected] --no-save --no-package-lock | ||
RUN npm install [email protected] --no-save --no-package-lock | ||
RUN npm config set unsafe-perm true && npm install -g [email protected] | ||
RUN curl https://raw.githubusercontent.com/vishnubob/wait-for-it/ed77b63706ea721766a62ff22d3a251d8b4a6a30/wait-for-it.sh > /bin/wait-for && chmod +x /bin/wait-for | ||
|
||
COPY package.json .package.json | ||
RUN sed '/@bloggit/d' .package.json > package.json | ||
RUN npm install | ||
|
||
COPY ops ops | ||
COPY src src | ||
COPY dist dist | ||
|
||
ENTRYPOINT ["bash", "ops/entry.sh"] |
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.