Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
normanrz committed Aug 4, 2018
1 parent 2e1c256 commit 6c695a4
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 813 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
test
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
FROM node:10

COPY . /app
WORKDIR /app
RUN yarn install

ENV TILE_SET_CACHE 128
ENV TILE_SET_PATH /app/data
ENV MAX_POST_SIZE 500kb

CMD ["yarn", "run", "start"]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "0.0.1",
"main": "index.js",
"scripts": {
"start": "micro index",
"start": "micro index.js",
"test": "node test/test.js"
},
"author": "Norman Rzepka <[email protected]>",
Expand Down
Loading

0 comments on commit 6c695a4

Please sign in to comment.