From ec0dffd7af1c0795abf6b43b7242c669a8752b51 Mon Sep 17 00:00:00 2001 From: Rey Estrada Date: Tue, 17 Aug 2021 14:17:22 -0700 Subject: [PATCH] adding Dockerfile to build inside docker --- Dockerfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..2cce868 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM ubuntu:latest +ARG DEBIAN_FRONTEND=noninteractive +RUN apt-get update +RUN apt-get install -y vim +RUN apt-get install -y zip +RUN apt-get install -y ssh +RUN apt-get install -y npm +WORKDIR /app +COPY . . +# you can use it with: +# docker build . -t cloudfront-auth && docker run -it cloudfront-auth +# then, copy the zip file with: +# docker cp :/app/distributions/ . \ No newline at end of file