Skip to content

Commit 63c6aa8

Browse files
committed
Changed image to use alpine and run the test script directly
1 parent 616b2f5 commit 63c6aa8

File tree

1 file changed

+15
-12
lines changed

1 file changed

+15
-12
lines changed

Dockerfile

Lines changed: 15 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,22 @@
1-
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base
1+
# FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base
2+
FROM alpine:3.14
3+
4+
CMD ./test.sh
25

3-
RUN apt-get install curl
46

57
# Command to start the evaluation function with
6-
ENV FUNCTION_COMMAND="bash"
8+
# ENV FUNCTION_COMMAND="wolframscript"
9+
# ENV FUNCTION_COMMAND="bash"
710

8-
# Args to start the evaluation function with
9-
# ENV FUNCTION_ARGS="-f,/app/evaluation_function.wl"
10-
ENV FUNCTION_ARGS="-f,/app/test.sh"
11+
# # Args to start the evaluation function with
12+
# # ENV FUNCTION_ARGS="-f,/app/evaluation_function.wl"
13+
# ENV FUNCTION_ARGS="-f,/app/test.sh"
1114

12-
# Interface to use for the evaluation function
13-
ENV FUNCTION_INTERFACE="file"
15+
# # Interface to use for the evaluation function
16+
# ENV FUNCTION_INTERFACE="file"
1417

15-
ENV LOG_LEVEL="DEBUG"
18+
# ENV LOG_LEVEL="DEBUG"
1619

17-
# Copy the evaluation function to the app directory
18-
COPY ./evaluation_function.wl /app/evaluation_function.wl
19-
COPY ./test.sh /app/test.sh
20+
# # Copy the evaluation function to the app directory
21+
# COPY ./evaluation_function.wl /app/evaluation_function.wl
22+
# COPY ./test.sh /app/test.sh

0 commit comments

Comments
 (0)