diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4c50a11 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,19 @@ +FROM node:buster +LABEL maintainer="Rishi Ghan " + +RUN mkdir -p /usr/src/threetwo +WORKDIR /usr/src/threetwo + +RUN apt-get -y install glibc xdg-utils python xvfb imagemagick +RUN wget --no-check-certificate -nv -O- https://raw.githubusercontent.com/kovidgoyal/calibre/master/setup/linux-installer.py | sudo python -c "import sys; main=lambda:sys.stderr.write('Download failed\n'); exec(sys.stdin.read()); main()" + +COPY package.json /usr/src/threetwo +COPY nodemon.json /usr/src/threetwo + +RUN npm i -g yarn && \ + yarn + +COPY . /usr/src/threetwo +EXPOSE 3050 + +CMD yarn run dev \ No newline at end of file diff --git a/README.md b/README.md index e69de29..509a410 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,9 @@ +# ThreeTwo! + +⚠️ This project is in early stages of development and as such, not ready for general use. + +## Local Development + +1. Clone this repo +2. `yarn run dev` (you can ignore the warnings) +3. `calibre` is a dependency of this project. \ No newline at end of file