Skip to content

Commit

Permalink
Updated dockerfiles for deployment (#6)
Browse files Browse the repository at this point in the history
* moved requests to models

* spelling mistake

* cleaning up unused code

* removal of hardcoded value to enum

* fixes for aligning ALS with correct flow for sending HTTP requests as well as refactoring and reworking code to be more maintainable. also removed broken code for batch participants. moved endpoint cache to models folders. tried to comment more

* version update

* Admin API functionality added with full CRUD

* refactor

* fix for broken test

* version update
updated dockerfile
move npm-run-all to normal dependencies
  • Loading branch information
rmothilal authored May 13, 2019
1 parent 1599ce3 commit 6daf311
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 79 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ RUN apk del build-dependencies
EXPOSE 4002
EXPOSE 4001

CMD node src/index.js server
CMD npm run start
2 changes: 1 addition & 1 deletion admin.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ RUN npm install --production && \
RUN apk del build-dependencies

EXPOSE 4002
CMD node src/index.js server --admin
CMD npm run start:admin
2 changes: 1 addition & 1 deletion api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ RUN npm install --production && \
RUN apk del build-dependencies

EXPOSE 4001
CMD node src/index.js server --api
CMD npm run start:api
Loading

0 comments on commit 6daf311

Please sign in to comment.