Skip to content

Commit

Permalink
Merge pull request #5 from fuerbringer/dockerfile
Browse files Browse the repository at this point in the history
Dockerize project
  • Loading branch information
fuerbringer authored Jun 17, 2017
2 parents bbefdfc + d3f826c commit 0e23a9e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
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
10 changes: 10 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
FROM node:boron

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY package.json /usr/src/app/
RUN npm install

COPY . /usr/src/app
CMD [ "npm", "start" ]
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ The _old school_ way of installing Searxbot is quite simple:

### Docker

Dockerfile coming soon™
1. `git clone` this repository somewhere on your server.
2. Rename the `auth.json.example` file to `auth.json` and fill in your credidentials.
3. Build the Docker image like this: `docker build -t fuerbringer/searxbot .`
4. Run the Docker image: `docker run -d --name searxbot fuerbringer/searxbot`

## SearX instances
A list of public SearX instances can be found [here](https://github.com/asciimoo/searx/wiki/Searx-instances).

0 comments on commit 0e23a9e

Please sign in to comment.