diff --git a/README.md b/README.md index c4d1e65..fc924f8 100644 --- a/README.md +++ b/README.md @@ -147,6 +147,15 @@ Error monitoring provided by Bugsnag. +## Running With Docker + +To build and run Exportify with docker, run: + +**`docker build . -t exportify`** + +**`docker run -p 3000:3000 exportify`** + +And then open [http://localhost:3000](http://localhost:3000) to view it in the browser. ## Contributing diff --git a/dockerfile b/dockerfile new file mode 100644 index 0000000..f9eae27 --- /dev/null +++ b/dockerfile @@ -0,0 +1,9 @@ +FROM node:18.18-alpine + +COPY . / + +RUN yarn install + +EXPOSE 3000 + +ENTRYPOINT ["yarn", "start"]