From 46ee612fed5fb1d5ea1ca3f3c17457bea71a09b4 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"]