Skip to content

Commit 59e7c69

Browse files
committed
Revert "Changed image to use alpine and run the test script directly"
This reverts commit 63c6aa8.
1 parent 8bd8663 commit 59e7c69

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

Dockerfile

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

3+
RUN apt-get install curl
64

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

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"
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"
1411

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

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

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
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

0 commit comments

Comments
 (0)