-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile_ACME
More file actions
27 lines (22 loc) · 849 Bytes
/
Dockerfile_ACME
File metadata and controls
27 lines (22 loc) · 849 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Dockerfile to build a container specifically for running ACME processing and evaluation
# Build from python, which itself is build on the latest Debian image using something like
# `docker build . -f Dockerfile_ACME --tag owls-autonomy-acme:v1`
#
FROM python:3.7.16-slim-bullseye
RUN apt-get update && apt-get upgrade -y
RUN apt-get install ffmpeg -y
WORKDIR /app
# Add source code
COPY setup.py .
COPY README.md .
COPY requirements.txt .
COPY src/ ./src/
#
# Add custom script that bundles ACME processing and evaluation
COPY src/tools/acme_cems/containerization_tools/ACME_processing_and_eval.sh .
RUN chmod +x ./ACME_processing_and_eval.sh
# Install OWLS-Autonomy package
RUN pip install --upgrade pip && \
pip install --no-cache-dir -e /app
# Set entrypoint to use the ACME launcher script
ENTRYPOINT ["./ACME_processing_and_eval.sh"]