diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..4a2e42a --- /dev/null +++ b/Dockerfile @@ -0,0 +1,7 @@ +FROM node + +COPY . . +RUN npm install + +EXPOSE 3000 +CMD npm run start diff --git a/README.md b/README.md index 1225d9b..ce6c142 100644 --- a/README.md +++ b/README.md @@ -28,5 +28,12 @@ $ npm install $ npm run start ``` +_To build/run docker container:_ +```bash +$ docker build -t notwordle . +$ docker run -d -p 3000:3000 notwordle +``` +open http://localhost:3000 in browser. + ### I'm looking for a junior developer role Please feel free to contact me on [linkedin](https://www.linkedin.com/in/hannahpark1000/) and learn more about me [here](https://www.hannahmariepark.com/)