Skip to content

Commit 7aba5b7

Browse files
authored
Merge pull request #4 from lambda-feedback/fix/logging
Fix/logging
1 parent b8d56d9 commit 7aba5b7

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,4 @@ jobs:
1616
aws-key-id: ${{ secrets.LAMBDA_CONTAINER_PIPELINE_AWS_ID }}
1717
aws-secret-key: ${{ secrets.LAMBDA_CONTAINER_PIPELINE_AWS_SECRET}}
1818
function-admin-api-key: ${{ secrets.FUNCTION_ADMIN_API_KEY}}
19+
license: ${{ secrets.LICENSE }}

Dockerfile

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest
1+
FROM ghcr.io/lambda-feedback/evaluation-function-base/wolfram:latest as base
22

33
# Command to start the evaluation function with
44
ENV FUNCTION_COMMAND="wolframscript"
@@ -11,8 +11,5 @@ ENV FUNCTION_INTERFACE="file"
1111

1212
ENV LOG_LEVEL="DEBUG"
1313

14-
# Copy Wolfram licence if present - stored as LICENCE.txt for working with the lambda_build Github Actions workflow
15-
RUN if [ -f dist/LICENSE.txt ]; then cp dist/LICENSE.txt /home/wolframengine/.WolframEngine/Licensing/mathpass; else echo "No license file found."; fi
16-
1714
# Copy the evaluation function to the app directory
1815
COPY ./evaluation_function.wl /app/evaluation_function.wl

0 commit comments

Comments
 (0)