File tree Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Expand file tree Collapse file tree 2 files changed +23
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM node:20-alpine
2
+
3
+ WORKDIR /home/node/app
4
+
5
+ RUN chown -R node:node /home/node/app
6
+
7
+ USER node
8
+
9
+ COPY package*.json ./
10
+
11
+ COPY --chown=node:node . .
12
+ RUN yarn install
13
+
14
+ CMD ["yarn" , "start" ]
Original file line number Diff line number Diff line change @@ -112,6 +112,15 @@ Storybook is a development environment for UI components. It allows you to brows
112
112
yarn storybook
113
113
```
114
114
115
+ ## Docker
116
+
117
+ You can also run the mini-dashboard with Docker.
118
+
119
+ ``` bash
120
+ docker build -t meilisearch-mini-dashboard .
121
+ docker run -it -e REACT_APP_MEILI_SERVER_ADDRESS=http://localhost:7700 -p 3000:3000 meilisearch-mini-dashboard
122
+ ```
123
+
115
124
## Contributing
116
125
117
126
If you want to contribute to this project, please make sure to read [ the contributing guidelines] ( ./CONTRIBUTING.md )
You can’t perform that action at this time.
0 commit comments