generated from amazon-archives/__template_Apache-2.0
-
Notifications
You must be signed in to change notification settings - Fork 62
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
We created a custom docker image for lambda with the following dockerFile.
DockerFile
ARG FUNCTION_DIR="/code"
FROM node:12-buster as build-image
ARG FUNCTION_DIR
RUN apt-get update &&
apt-get install -y
g++
make
cmake
unzip
libcurl4-openssl-dev
RUN npm -g config set user root
RUN npm install -g aws-lambda-ric
RUN npm -g config set user nobody
RUN mkdir -p ${FUNCTION_DIR}
COPY . ${FUNCTION_DIR}
RUN chmod -R 775 ${FUNCTION_DIR}
WORKDIR ${FUNCTION_DIR}
ENTRYPOINT exec /usr/local/bin/npx aws-lambda-ric index.handler
When we print the getRemainingTimeInMillis, we get the value as NaN.
We tried to print the function itself and got the following response.
function () { return deadline - Date.now(); }
As we missing anything here ?
ossamaweb and XMegamanX
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working