samuel-p
26b92eeb2f
All checks were successful
continuous-integration/woodpecker the build was successful
15 lines
456 B
Docker
15 lines
456 B
Docker
FROM python:3.10.0-alpine@sha256:1aac9b1e6201c1a224742e2f9ab0ca37689e6c9754b94380b05c520749fb8668
|
|
|
|
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"]
|