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
Renovate Bot 7f05ec5230
All checks were successful
continuous-integration/woodpecker the build was successful
Update python:3.10.0-alpine Docker digest to bed0a5f
2021-11-28 05:00:46 +00:00

16 lines
456 B
Docker

FROM python:3.10.0-alpine@sha256:bed0a5fe5b7d996b0678abf4fb2f0d5f3d5078cda951ccdc068ffbddb555e727
WORKDIR /workdir/
ENV RELAY_VERSION="5c5f212d709aa44280f487aae01cf45a458f0762"
RUN apk upgrade --no-cache \
&& apk add --no-cache alpine-sdk autoconf automake libtool gcc git \
&& git clone https://git.pleroma.social/pleroma/relay.git . \
&& git checkout "${RELAY_VERSION}" \
&& pip3 install .
CMD ["python", "-m", "relay"]
VOLUME ["/workdir/data"]