generated from lambda-feedback/evaluation-function-boilerplate-wolfram
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
23 lines (16 loc) · 793 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest
# Command to start the evaluation function with
ENV FUNCTION_COMMAND="wolframscript"
# Args to start the evaluation function with
ENV FUNCTION_ARGS="-f,/app/evaluation_function.wl"
# Interface to use for the evaluation function
ENV FUNCTION_INTERFACE="file"
ENV LOG_LEVEL="DEBUG"
# Copy the evaluation function to the app directory
COPY ./evaluation_function.wl /app/evaluation_function.wl
RUN apt-get update && apt-get install -y \
libglib2.0-0 \
&& rm -rf /var/lib/apt/lists/*
COPY --from=wolframresearch/wolframengine:12.3.1 \
/usr/local/Wolfram/WolframEngine/12.3/SystemFiles/Libraries/Linux-x86-64/libiomp5.so \
/usr/local/Wolfram/WolframEngine/13.3/SystemFiles/Libraries/Linux-x86-64/libiomp5.so