Skip to content

Commit

Permalink
Install 'bash' in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zeeshanakram3 committed Jan 17, 2024
1 parent 457fa61 commit 9b2449a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 1.4.1

- **FIX**: Install `bash` in Dockerfile, since it does not come pre-installed in `node:18-alpine` image.

# 1.4.0

- Created `SquidVersion` graphql entity schema and exposed query to fetch the current version of the storage squid package.
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ ADD assets assets
RUN npm ci --omit=dev

FROM node AS squid
RUN apk add bash
WORKDIR /squid
COPY --from=deps /squid/package.json .
COPY --from=deps /squid/package-lock.json .
Expand All @@ -42,10 +43,8 @@ ENV PROCESSOR_PROMETHEUS_PORT 3000
EXPOSE 3000
EXPOSE 4000


FROM squid AS processor
CMD ["npm", "run", "processor-start"]


FROM squid AS query-node
CMD ["npm", "run", "graphql-server-start"]
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "storage-squid",
"version": "1.4.0",
"version": "1.4.1",
"engines": {
"node": ">=16"
},
Expand Down

0 comments on commit 9b2449a

Please sign in to comment.