From 6791c1e42bcbf1d81fa968aa51449eacb77420d6 Mon Sep 17 00:00:00 2001 From: Jannis R Date: Sun, 26 Apr 2020 18:09:50 +0200 Subject: [PATCH] Docker: remove hafas-client ID generation related: - ee70e62 - derhuerst/bvg-rest#4 - https://github.com/public-transport/hafas-client/blob/3/lib/generate-install-id.js --- Dockerfile | 2 +- docker-entrypoint.sh | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) delete mode 100755 docker-entrypoint.sh diff --git a/Dockerfile b/Dockerfile index 51a258c..4a08323 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,4 +13,4 @@ EXPOSE 3000 ENV HOSTNAME 2.db.transport.rest ENV PORT 3000 -CMD ["/bin/sh", "docker-entrypoint.sh"] +CMD ["node", "index.js"] diff --git a/docker-entrypoint.sh b/docker-entrypoint.sh deleted file mode 100755 index 9b3638c..0000000 --- a/docker-entrypoint.sh +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -npm explore hafas-client -- npm run install -npm start