-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Julius von Froreich
committed
Jul 26, 2018
0 parents
commit de59293
Showing
2 changed files
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Node LTS | ||
FROM node:8.11.3-slim | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y --no-install-recommends \ | ||
git \ | ||
python \ | ||
make \ | ||
gcc \ | ||
g++ \ | ||
libc6-dev | ||
|
||
RUN git clone https://github.com/Financial-Times/polyfill-service.git /polyfill | ||
|
||
WORKDIR /polyfill | ||
|
||
RUN npm run install | ||
|
||
EXPOSE 8801 | ||
This comment has been minimized.
Sorry, something went wrong. |
||
|
||
CMD ["node" ,"--optimize_for_size" ,"--max_old_space_size=460" ,"--gc_interval=100" ,"packages/polyfill-service/bin/polyfill-service"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PORT=80 | ||
This comment has been minimized.
Sorry, something went wrong.
FlorianWendelborn
Member
|
||
NODE_ENV=dev | ||
This comment has been minimized.
Sorry, something went wrong. |
@fvj I don’t think it’s intentional that this is exposing
8801
, but usingPORT=80
.