Docker image for Gitea
This commit is contained in:
parent
6e3ddb4035
commit
789f7180cc
2 changed files with 4 additions and 4 deletions
|
@ -9,7 +9,7 @@ COPY nitter.nimble .
|
||||||
RUN nimble install -y --depsOnly
|
RUN nimble install -y --depsOnly
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN nimble build -d:danger -d:lto -d:strip \
|
RUN nimble build -d:release \
|
||||||
&& nimble scss \
|
&& nimble scss \
|
||||||
&& nimble md
|
&& nimble md
|
||||||
|
|
||||||
|
|
|
@ -3,11 +3,11 @@ version: "3"
|
||||||
services:
|
services:
|
||||||
|
|
||||||
nitter:
|
nitter:
|
||||||
#image: zedeus/nitter:latest
|
image: git.nolog.cz/nolog.cz/nitter:latest
|
||||||
build: .
|
#build: .
|
||||||
container_name: nitter
|
container_name: nitter
|
||||||
ports:
|
ports:
|
||||||
- "10.0.0.42:8080:8080" # Replace with "8080:8080" if you don't use a reverse proxy
|
- "8080:8080" # Replace with "8080:8080" if you don't use a reverse proxy
|
||||||
volumes:
|
volumes:
|
||||||
- ./nitter.conf:/src/nitter.conf:ro
|
- ./nitter.conf:/src/nitter.conf:ro
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|
Loading…
Reference in a new issue