initial commit
All checks were successful
continuous-integration/woodpecker the build was successful
All checks were successful
continuous-integration/woodpecker the build was successful
This commit is contained in:
commit
f02efde03a
6 changed files with 716 additions and 0 deletions
14
Dockerfile
Normal file
14
Dockerfile
Normal file
|
@ -0,0 +1,14 @@
|
|||
FROM python:3.10.0-alpine@sha256:1aac9b1e6201c1a224742e2f9ab0ca37689e6c9754b94380b05c520749fb8668
|
||||
|
||||
WORKDIR /workdir/
|
||||
|
||||
ENV RELAY_VERSION="0.1.0"
|
||||
|
||||
RUN apk upgrade --no-cache \
|
||||
&& apk add --no-cache alpine-sdk autoconf automake libtool gcc curl tar \
|
||||
&& curl -L "https://git.pleroma.social/pleroma/relay/-/archive/${RELAY_VERSION}/relay-${RELAY_VERSION}.tar.gz" | tar xvz --strip 1 \
|
||||
&& pip3 install .
|
||||
|
||||
CMD ["python", "-m", "relay"]
|
||||
|
||||
VOLUME ["/workdir/data"]
|
Reference in a new issue