Skip to content

Commit 244df81

Browse files
authored
Merge pull request #6 from lambda-feedback/fix/IO-and-structure
Mathpass tied to MAC address, removed licence part from dockerfile
2 parents 835fb60 + 21c76ee commit 244df81

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

Dockerfile

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,4 @@ ENV FUNCTION_INTERFACE="file"
1212
ENV LOG_LEVEL="DEBUG"
1313

1414
# Copy the evaluation function to the app directory
15-
COPY ./evaluation_function.wl /app/evaluation_function.wl
16-
17-
FROM base AS with-license
18-
COPY ./dist/LICENSE.txt /home/wolframengine/.WolframEngine/Licensing/mathpass
19-
20-
FROM base AS without-license
21-
# no COPY, no error
22-
23-
# Choose final stage with build arg
24-
ARG WITH_LICENSE=false
25-
FROM ${WITH_LICENSE:+with-license}${WITH_LICENSE:-without-license}
15+
COPY ./evaluation_function.wl /app/evaluation_function.wl

0 commit comments

Comments
 (0)