Skip to content
Snippets Groups Projects
Verified Commit f89e256d authored by Antoine R. Dumont's avatar Antoine R. Dumont
Browse files

indexer-worker: Add missing dockerfile for the indexer worker

parent 98733a8b
No related branches found
Tags v0.0.22
1 merge request!22indexer-worker: Add missing dockerfile for the indexer worker
FROM python:3
RUN export DEBIAN_FRONTEND=noninteractive && \
apt-get update && \
apt-get install -y \
libsystemd-dev postgresql-client
RUN pip install swh-indexer
RUN useradd -ms /bin/bash swh
COPY entrypoint.sh /
COPY mimetype.yml /home/swh/.config/swh/indexer/
RUN chown -R swh: /home/swh/.config/
USER swh
ENTRYPOINT ["/entrypoint.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment