/loggerhead/trunk

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/loggerhead/trunk

« back to all changes in this revision

Viewing changes to Dockerfile

  • Committer: Jelmer Vernooij
  • Date: 2021-11-15 00:02:56 UTC
  • mto: This revision was merged to the branch mainline in revision 520.
  • Revision ID: jelmer@jelmer.uk-20211115000256-lzzcr2s4ikp18nwf
Fix use of tox.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
FROM debian:sid-slim
 
2
 
 
3
# Simple docker file for loggerhead
 
4
# To use, mount something on /code
 
5
# Logs will be accessible at /logs
 
6
 
 
7
RUN apt update && apt install --no-install-recommends -y python3 python3-bleach python3-paste python3-pip python3-patiencediff python3-simpletal python3-dev build-essential python3-pastedeploy python3-dulwich python3-certifi python3-configobj && pip3 install breezy && apt clean && mkdir -p /logs
 
8
ADD . /opt/loggerhead
 
9
ENV PYTHONPATH=/opt/loggerhead
 
10
EXPOSE 8080/tcp
 
11
ENTRYPOINT ["/usr/bin/python3", "/opt/loggerhead/loggerhead-serve", "/code", "--host=0.0.0.0", "--port=8080", "--log-folder=/logs", "--cache-dir=/tmp"]