Skip to content

Commit

Permalink
Created dockerfile for generator
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder committed Jun 28, 2019
1 parent 90a5736 commit 914da82
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 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
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM node:11

WORKDIR /usr/src/app

# Putting the old one in here until the new one supports node
RUN npm install -g asyncapi-node-codegen

# install dependencies
COPY package*.json ./
RUN npm install


# copy code
COPY . .

EXPOSE 8080
CMD [ "node", "cli.js" ]

0 comments on commit 914da82

Please sign in to comment.