File: Dockerfile

package info (click to toggle)
loggerhead 2.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,060 kB
  • sloc: python: 4,673; javascript: 534; sh: 113; makefile: 94
file content (11 lines) | stat: -rw-r--r-- 647 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
FROM debian:sid-slim

# Simple docker file for loggerhead
# To use, mount something on /code
# Logs will be accessible at /logs

RUN apt update && apt install --no-install-recommends -y python3 python3-bleach python3-paste python3-pip python3-patiencediff python3-chameleon python3-dev build-essential python3-pastedeploy python3-dulwich python3-certifi python3-configobj && pip3 install breezy && apt clean && mkdir -p /logs
ADD . /opt/loggerhead
ENV PYTHONPATH=/opt/loggerhead
EXPOSE 8080/tcp
ENTRYPOINT ["/usr/bin/python3", "/opt/loggerhead/loggerhead-serve", "/code", "--host=0.0.0.0", "--port=8080", "--log-folder=/logs", "--cache-dir=/tmp"]