diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..eeaeb80 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +.idea +.vscode +lambda \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 0000000..83d0d68 --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,9 @@ +# This configuration file was automatically generated by Gitpod. +# Please adjust to your needs (see https://www.gitpod.io/docs/config-gitpod-file) +# and commit this file to your remote git repository to share the goodness with others. + +tasks: + - init: make dep && make + command: make run + + diff --git a/Dockerfile b/Dockerfile index fb9f069..367cebe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,10 @@ FROM golang:alpine3.16 LABEL maintainer="Vincenzo Palazzo (@vincenzopalazzo) vincenzopalazzodev@gmail.com" -RUN make dep +workdir lnlambda -CMD [ "make", "run" ] \ No newline at end of file +COPY . . + +RUN go get -d ./... + +CMD [ "go", "run", "main.go" ] \ No newline at end of file diff --git a/lambda b/lambda deleted file mode 100755 index 52022b1..0000000 Binary files a/lambda and /dev/null differ