Skip to content

Commit

Permalink
fix(docker): adjust entrypoint and command
Browse files Browse the repository at this point in the history
  • Loading branch information
PabloCastellano committed Aug 6, 2024
1 parent b60af28 commit 2597ada
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ USER nextjs
EXPOSE 3000
ENV PORT 3000

ENTRYPOINT ["/docker-entrypoint.sh", "web"]
CMD ["--help"]
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["web"]

# stage: api-builder
FROM deps AS api-builder
Expand Down Expand Up @@ -104,5 +104,5 @@ EXPOSE 3001
ENV PORT 3001

ADD docker-entrypoint.sh /
ENTRYPOINT ["/docker-entrypoint.sh", "api"]
CMD ["--help"]
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["api"]
1 change: 0 additions & 1 deletion docker-compose.api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version: "3.7"
services:
api:
image: blossomlabs/blobscan-api:${BLOBSCAN_API_TAG}
command: api
restart: always
ports:
- ${EXTERNAL_API_PORT}:3001
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ version: "3.7"
services:
web:
image: blossomlabs/blobscan-web:${BLOBSCAN_WEB_TAG}
command: web
restart: always
ports:
- ${EXTERNAL_WEB_PORT}:3000
Expand All @@ -13,7 +12,6 @@ services:

api:
image: blossomlabs/blobscan-api:${BLOBSCAN_API_TAG}
command: api
restart: always
ports:
- ${EXTERNAL_API_PORT}:3001
Expand Down

0 comments on commit 2597ada

Please sign in to comment.