From ec7900ff637715f02df4ae61c9e6e34a209f6da7 Mon Sep 17 00:00:00 2001 From: Trond A Ekseth Date: Sat, 19 Nov 2022 17:17:52 +0100 Subject: [PATCH] Add Dockerfile for building JS output --- Dockerfile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..28d6007 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,11 @@ +# docker build -t dndmusicbot-js-build . +# docker run -it -v $(pwd)/public:/app/public dndmusicbot-js-build +FROM node:19-alpine3.16 + +WORKDIR /app + +COPY . /app + +RUN yarn + +ENTRYPOINT ["yarn", "build"]