Skip to content

Commit 73b7b25

Browse files
committed
dockerized
1 parent f5da6a2 commit 73b7b25

File tree

3 files changed

+14
-12310
lines changed

3 files changed

+14
-12310
lines changed

Dockerfile

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
FROM node:12.3.1
2+
WORKDIR /app
3+
COPY . /app
4+
RUN npm run setup
5+
CMD yarn dev
6+
EXPOSE 5000 3000

README.md

+8
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,11 @@ Run `npm run setup`. Only needs to be run again whenever dependencies change.
1717
**Starting the development server**
1818

1919
Run `yarn dev`, this will start the development server at `localhost:3000`, and the frontend at `localhost:5000`. Both the API and the frontend will automatically reload whenever code changes are saved.
20+
21+
22+
**Starting with Docker**
23+
24+
Run `docker build --no-cache -t jumpstart .`
25+
and: `docker run -p 5000:5000 jumpstart`
26+
27+

0 commit comments

Comments
 (0)