This repository has been archived on 2021-12-08. You can view files and clone it, but cannot push or open issues or pull requests.
activity-relay-docker/Dockerfile

16 lines
456 B
Text
Raw Normal View History

2021-12-08 08:00:18 +00:00
FROM python:3.10.1-alpine@sha256:dce56d40d885d2c8847aa2a278a29d50450c8e3d10f9d7ffeb2f38dcc1eb0ea4
2021-11-27 02:32:38 +00:00
WORKDIR /workdir/
2021-11-28 01:45:05 +00:00
ENV RELAY_VERSION="5c5f212d709aa44280f487aae01cf45a458f0762"
2021-11-27 02:32:38 +00:00
RUN apk upgrade --no-cache \
2021-11-28 01:45:05 +00:00
&& apk add --no-cache alpine-sdk autoconf automake libtool gcc git \
&& git clone https://git.pleroma.social/pleroma/relay.git . \
&& git checkout "${RELAY_VERSION}" \
2021-11-27 02:32:38 +00:00
&& pip3 install .
CMD ["python", "-m", "relay"]
VOLUME ["/workdir/data"]