diff --git a/api/Dockerfile b/api/Dockerfile index ed8f966..106e522 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -18,4 +18,4 @@ EXPOSE 3000 EXPOSE 6379 EXPOSE 27017 -ENTRYPOINT ["node", "api.js"] \ No newline at end of file +CMD ["while true; do node app.js && break; done"] \ No newline at end of file diff --git a/package-lock.json b/package-lock.json new file mode 100644 index 0000000..48e341a --- /dev/null +++ b/package-lock.json @@ -0,0 +1,3 @@ +{ + "lockfileVersion": 1 +}