Skip to content

Commit

Permalink
Adding docker routine
Browse files Browse the repository at this point in the history
  • Loading branch information
Fazendaaa committed Mar 21, 2020
1 parent c51c3b8 commit 468fa36
Show file tree
Hide file tree
Showing 8 changed files with 1,790 additions and 2,648 deletions.
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
dist
node_modules
coverage
.env
15 changes: 15 additions & 0 deletions Dockerfile
@@ -0,0 +1,15 @@
FROM node

WORKDIR /usr/app

COPY gif/ gif/
COPY img/ img/
COPY locales/ locales/

COPY dist/ dist/
COPY package.json .
COPY tsconfig.json .
COPY .env .

RUN [ "npm", "install" ]
ENTRYPOINT [ "npm", "start" ]
22 changes: 0 additions & 22 deletions dist/database/database.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/database/database.js.map

This file was deleted.

20 changes: 0 additions & 20 deletions dist/others/readAsync.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/others/readAsync.js.map

This file was deleted.

0 comments on commit 468fa36

Please sign in to comment.