Skip to content
This repository has been archived by the owner on Jan 4, 2019. It is now read-only.

Commit

Permalink
add minimal docker config (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlnk committed May 21, 2018
1 parent 1fb9f6c commit dfc6dec
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
npm-debug.log
2 changes: 0 additions & 2 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
PORT=42506
HOST_DEV=http://localhost:49101
#HOST_PROD=http://localhost:49101

# SQLITE
SQLITE_DB=database.db
Expand Down
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:carbon
WORKDIR /usr/src/app

COPY package*.json ./
RUN npm install

COPY . .

EXPOSE 42506
CMD [ "npm", "start" ]

0 comments on commit dfc6dec

Please sign in to comment.