Fix up Dockerfile.
This commit is contained in:
parent
aafac21664
commit
d67240be36
@ -6,7 +6,6 @@ COPY . /Activity-Relay
|
||||
RUN mkdir -p /rootfs/usr/bin && \
|
||||
apk add -U --no-cache git && \
|
||||
go build -o /rootfs/usr/bin/relay -ldflags "-X main.version=$(git describe --tags HEAD)" . && \
|
||||
go build -o /rootfs/usr/bin/worker -ldflags "-X main.version=$(git describe --tags HEAD)" ./worker && \
|
||||
go build -o /rootfs/usr/bin/ar-cli -ldflags "-X main.version=$(git describe --tags HEAD)" ./cli
|
||||
|
||||
FROM alpine
|
||||
|
@ -13,7 +13,7 @@ services:
|
||||
image: yukimochi/activity-relay
|
||||
restart: always
|
||||
init: true
|
||||
command: worker
|
||||
command: relay worker
|
||||
environment:
|
||||
- "ACTOR_PEM=/actor.pem"
|
||||
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
||||
|
Loading…
x
Reference in New Issue
Block a user