-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathDockerfile_glows_integration
More file actions
27 lines (27 loc) · 992 Bytes
/
Dockerfile_glows_integration
File metadata and controls
27 lines (27 loc) · 992 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
FROM python:3.12-slim
RUN apt-get update && apt-get install -y git libgfortran5
COPY --from=ghcr.io/astral-sh/uv:0.9.5 /uv /uvx /bin/
RUN mkdir temp_cdf_data
RUN mkdir -p /mnt/spice
RUN mkdir -p /spice_kernels
RUN mkdir -p /run_local_input_data
COPY uv.lock uv.lock
COPY pyproject.toml pyproject.toml
RUN uv sync --locked --no-install-project
COPY spice_kernels spice_kernels
COPY imap_l3_processing imap_l3_processing
COPY scripts scripts
COPY imap_l3_data_processor.py .
COPY tests tests
COPY instrument_team_data instrument_team_data
COPY imap_l3_processing/glows/l3e/l3e_toolkit/survProbHi survProbHi
COPY imap_l3_processing/glows/l3e/l3e_toolkit/survProbLo survProbLo
COPY imap_l3_processing/glows/l3e/l3e_toolkit/survProbUltra survProbUltra
RUN chmod +x survProbHi
RUN chmod +x survProbLo
RUN chmod +x survProbUltra
COPY run_local.py .
RUN uv sync --locked
ENV IN_GLOWS_INTEGRATION_DOCKER = "set"
ENV PYTHONPATH=$PYTHONPATH:/imap_l3_processing
ENTRYPOINT ["uv", "run", "-m", "unittest"]