Adding docker to readme
This commit is contained in:
parent
8c4f18bb43
commit
0a2528de5c
|
@ -24,10 +24,6 @@ COPY server/service ${SERVICE_PATH}
|
||||||
WORKDIR ${SERVICE_PATH}
|
WORKDIR ${SERVICE_PATH}
|
||||||
|
|
||||||
COPY --from=node-builder /usr/app/server/ui /usr/app/server/ui
|
COPY --from=node-builder /usr/app/server/ui /usr/app/server/ui
|
||||||
RUN ls /usr/app
|
|
||||||
RUN ls /usr/app/server/ui
|
|
||||||
RUN ls /usr/app/server/ui/dist
|
|
||||||
RUN ls /usr/app/server/service
|
|
||||||
|
|
||||||
# Build it
|
# Build it
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
|
@ -34,6 +34,14 @@ and goto http://localhost:8080
|
||||||
|
|
||||||
If running on a different host, open up `server/ui/src/env.ts` and change your hostname.
|
If running on a different host, open up `server/ui/src/env.ts` and change your hostname.
|
||||||
|
|
||||||
|
### Docker
|
||||||
|
|
||||||
|
```
|
||||||
|
git clone https://gitlab.com/dessalines/torrents.csv
|
||||||
|
cd torrents.csv
|
||||||
|
docker-compose up
|
||||||
|
```
|
||||||
|
|
||||||
## Command Line Searching
|
## Command Line Searching
|
||||||
|
|
||||||
### Requirements
|
### Requirements
|
||||||
|
|
Loading…
Reference in New Issue