23 lines
505 B
Docker
23 lines
505 B
Docker
FROM python:3.10-slim
|
|
|
|
|
|
COPY docker_dev/md_recorder/requirements.txt /
|
|
RUN pip install --upgrade pip --root-user-action=ignore
|
|
RUN pip install -r /requirements.txt --root-user-action=ignore
|
|
|
|
COPY cvttpy /cvttpy
|
|
COPY docker_dev/md_recorder/.creds /.creds
|
|
COPY docker_dev/md_recorder/run_md_recorder.sh /run_md_recorder.sh
|
|
|
|
|
|
# Shared Volumes
|
|
RUN mkdir -p /app/data
|
|
RUN mkdir /logs
|
|
RUN chmod +x /run_md_recorder.sh
|
|
|
|
WORKDIR /
|
|
SHELL ["/bin/bash", "-c"]
|
|
ENV PYTHONPATH=/
|
|
ENTRYPOINT [ "/run_md_recorder.sh" ]
|
|
|