2022-05-21 02:27:14 +03:00
|
|
|
FROM alpine:latest
|
|
|
|
RUN apk update && apk add python3 py3-pip
|
2022-06-07 18:32:25 +03:00
|
|
|
RUN mkdir -p /opt/vk-mastodon-bridge/data
|
|
|
|
ADD . /opt/vk-mastodon-bridge
|
|
|
|
WORKDIR /opt/vk-mastodon-bridge
|
2022-05-21 02:27:14 +03:00
|
|
|
RUN pip install --upgrade pip && pip install --requirement requirements.txt
|
2022-07-07 09:01:14 +03:00
|
|
|
CMD source .env; python3 vk_mastodon_bridge.py
|