Skip to content

Commit

Permalink
remove environment file and inline the environment variables
Browse files Browse the repository at this point in the history
incorporate @dodekeract's criticism, thanks!
  • Loading branch information
Julius von Froreich (jvf) committed Jul 31, 2018
1 parent de59293 commit 691044d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,10 @@ WORKDIR /polyfill

RUN npm run install

EXPOSE 8801
ENV PORT 8801
ENV NODE_ENV dev

EXPOSE ${PORT}

CMD ["node" ,"--optimize_for_size" ,"--max_old_space_size=460" ,"--gc_interval=100" ,"packages/polyfill-service/bin/polyfill-service"]

2 changes: 0 additions & 2 deletions environment

This file was deleted.

0 comments on commit 691044d

Please sign in to comment.