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 && \
|
RUN mkdir -p /rootfs/usr/bin && \
|
||||||
apk add -U --no-cache git && \
|
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/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
|
go build -o /rootfs/usr/bin/ar-cli -ldflags "-X main.version=$(git describe --tags HEAD)" ./cli
|
||||||
|
|
||||||
FROM alpine
|
FROM alpine
|
||||||
|
@ -13,7 +13,7 @@ services:
|
|||||||
image: yukimochi/activity-relay
|
image: yukimochi/activity-relay
|
||||||
restart: always
|
restart: always
|
||||||
init: true
|
init: true
|
||||||
command: worker
|
command: relay worker
|
||||||
environment:
|
environment:
|
||||||
- "ACTOR_PEM=/actor.pem"
|
- "ACTOR_PEM=/actor.pem"
|
||||||
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
- "RELAY_DOMAIN=relay.toot.yukimochi.jp"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user