Add Dockerfile for building JS output

Trond Ekseth 2022-11-19 17:17:52 +01:00
parent 4745151c39
commit 46ee612fed
1 changed files with 11 additions and 0 deletions

11
Dockerfile Normal file
View File

@ -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"]