Skip to content

Commit ef0b46d

Browse files
authored
Merge pull request #44 from WorldBank-Transport/fix/docker-cmd
Fix docker cmd command
2 parents 6a53fc9 + b9aa646 commit ef0b46d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

ram-analysis/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,6 @@ RUN yarn
88

99
RUN mkdir /conversion && cd /conversion && echo "disk=/var/tmp/stxxl,2500,memory" > .stxxl && ln -s /code/node_modules/osrm/profiles/lib/ .
1010

11-
CMD ["node", "--max_old_space_size=8192 index.js"]
11+
RUN echo 'node --max_old_space_size=8192 index.js' > run.sh
12+
13+
CMD ["bash", "run.sh"]

ram-analysis/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ram-analysis",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)