mirror of
https://git.pleroma.social/pleroma/relay.git
synced 2024-11-22 06:27:59 +00:00
13 lines
267 B
Docker
13 lines
267 B
Docker
|
FROM python:3-alpine
|
||
|
WORKDIR /workdir
|
||
|
RUN apk add alpine-sdk autoconf automake libtool gcc
|
||
|
|
||
|
ADD relay /workdir/relay
|
||
|
ADD requirements.txt /workdir/
|
||
|
RUN pip3 install -r requirements.txt
|
||
|
|
||
|
ADD relay.yaml /workdir/
|
||
|
CMD ["python", "-m", "relay"]
|
||
|
|
||
|
VOLUME ["/workdir/data"]
|