Skip to content

Commit

Permalink
Add Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlance committed Dec 27, 2019
1 parent fb85be1 commit 63dcdf6
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# usage:
# docker build -t mygov .
# docker run -e DISPLAY --net=host -it mygov npm start
FROM node:13
WORKDIR /tmp/mygov

RUN apt update && \
apt install -y libxss1 libgtk-3-0 libnss3-dev libasound2

ADD . /tmp/mygov
RUN npm install
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,8 @@ So sorry for the bloat, but there you go.
2. `npm start`
3. pray
4. follow the instructions

# Or if you have docker installed

1. `docker build -t mygov .`
2. `docker run -e DISPLAY --net=host -it mygov npm start`

0 comments on commit 63dcdf6

Please sign in to comment.