Add Dockerfile for building JS output
parent
1740ee4ffd
commit
48677ffe44
|
@ -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"]
|
Loading…
Reference in New Issue