2023-01-16 21:01:48 +00:00
|
|
|
# Use the official lightweight Python image.
|
|
|
|
# https://hub.docker.com/_/python
|
|
|
|
FROM python:slim
|
|
|
|
|
|
|
|
# Copy local code to the container image.
|
|
|
|
ENV APP_HOME /app
|
|
|
|
WORKDIR $APP_HOME
|
|
|
|
|
|
|
|
# Install production dependencies.
|
|
|
|
RUN pip install fediblockhole
|
|
|
|
|
|
|
|
USER 1001
|
2023-02-21 20:51:56 +00:00
|
|
|
# Set the command on start to fediblock-sync.
|
2023-01-16 21:01:48 +00:00
|
|
|
ENTRYPOINT ["fediblock-sync"]
|