version: '3'
services:
  endpoint:
    image: python:latest
    ports:
      - 17116:5000
    command: >
      bash -c "mkdir fcs &&
      git clone https://oauth:pQRaETArtVorMpJdVRM3@gitlab.rrz.uni-hamburg.de/timarkh/fcs-clarin-endpoint-hamburg.git fcs/ &&
      pip install -r fcs/requirements.txt &&
      cd fcs &&
      python3 main.py"
