Skip to content

Commit

Permalink
Merge pull request jaeles-project#59 from aidanhall34/dockerfile
Browse files Browse the repository at this point in the history
Created dockerfile and updated README.md
  • Loading branch information
j3ssie authored Jan 17, 2023
2 parents 0f399bd + 0afc8a5 commit 721e78c
Show file tree
Hide file tree
Showing 2 changed files with 23 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 @@
FROM golang:latest AS build-env
RUN GO111MODULE=on go install github.com/jaeles-project/gospider@latest
FROM alpine:3.17.1
RUN apk add --no-cache ca-certificates libc6-compat
WORKDIR /app
COPY --from=build-env /go/bin/gospider .
RUN mkdir -p /app \
&& adduser -D gospider \
&& chown -R gospider:gospider /app
USER gospider
ENTRYPOINT [ "./gospider" ]
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,22 @@

## Installation

### GO install
```
GO111MODULE=on go install github.com/jaeles-project/gospider@latest
```

### Docker

```bash
# Clone the repo
git clone https://github.com/jaeles-project/gospider.git
# Build the contianer
docker build -t gospider:latest gospider
# Run the container
docker run -t gospider -h
```

## Features

* Fast web crawling
Expand Down

0 comments on commit 721e78c

Please sign in to comment.