Add Dockerfile for building JS output

pull/2/head
Trond Ekseth 2022-11-19 17:17:52 +01:00
parent a091df36e4
commit ec7900ff63
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"]