File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -3,14 +3,15 @@ WORKDIR /app
3
3
COPY ./shard.yml ./shard.yml
4
4
RUN shards install
5
5
COPY ./src/ ./src/
6
- RUN crystal build ./src/instances.cr --release
6
+ RUN crystal build ./src/instances.cr -s -p -t
7
7
8
8
FROM alpine:latest
9
- RUN apk add --no-cache gc pcre libgcc
9
+ RUN apk add --no-cache gc pcre libgcc yaml
10
10
WORKDIR /app
11
11
RUN addgroup -g 1000 -S invidious && \
12
12
adduser -u 1000 -S invidious -G invidious
13
13
COPY ./assets/ ./assets/
14
+ COPY ./config.yml ./config.yml
14
15
COPY --from=builder /app/instances .
15
16
16
17
EXPOSE 3000
Original file line number Diff line number Diff line change 1
1
version : ' 3'
2
2
services :
3
+ tor-socks-proxy :
4
+ container_name : tor-socks-proxy
5
+ image : peterdavehello/tor-socks-proxy:latest
6
+ ports :
7
+ - " 127.0.0.1:8853:53/udp"
8
+ - " 127.0.0.1:9150:9150/tcp"
9
+ restart : unless-stopped
10
+
3
11
instances :
4
12
build : .
5
13
restart : unless-stopped
You can’t perform that action at this time.
0 commit comments