Skip to content

Commit 6d62e95

Browse files
authored
fix: docker images using CMD instead of ENTRYPOINT (#219) (#235)
1 parent c04eb7b commit 6d62e95

4 files changed

Lines changed: 4 additions & 7 deletions

File tree

apps/http-server/app/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,5 +54,4 @@ ENV HTTP_SERVER_PORT=8080
5454
ENV HTTP_SERVER_BASE_PATH="/data"
5555
EXPOSE 8080
5656

57-
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
58-
CMD ["yarn", "start"]
57+
ENTRYPOINT ["/usr/bin/dumb-init", "--", "node", "dist/index.js"]

apps/package-manager/app/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ WORKDIR /src/apps/package-manager/app
5151
ENV package-manager_PORT=8070
5252
EXPOSE 8070
5353

54-
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
55-
CMD ["yarn", "start"]
54+
ENTRYPOINT ["/usr/bin/dumb-init", "--", "node", "dist/index.js"]

apps/quantel-http-transformer-proxy/app/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,4 @@ ENV QUANTEL_HTTP_TRANSFORMER_PROXY_PORT=8080
5252
# ENV QUANTEL_HTTP_TRANSFORMER_RATE_LIMIT_MAX=
5353
EXPOSE 8080
5454

55-
ENTRYPOINT ["yarn", "start"]
55+
ENTRYPOINT ["/usr/bin/dumb-init", "--", "node", "dist/index.js"]

apps/workforce/app/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,5 +51,4 @@ WORKDIR /src/apps/workforce/app
5151
ENV WORKFORCE_PORT=8070
5252
EXPOSE 8070
5353

54-
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
55-
CMD ["yarn", "start"]
54+
ENTRYPOINT ["/usr/bin/dumb-init", "--", "node", "dist/index.js"]

0 commit comments

Comments
 (0)