We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e90243 commit 99ea436Copy full SHA for 99ea436
Dockerfile
@@ -0,0 +1,14 @@
1
+# Get the Latest Nodejs Version
2
+FROM node:lts
3
+
4
+# Create a new work directory called /app
5
+WORKDIR /app
6
7
+EXPOSE 3000 3000
8
9
+# Copy the contents of root folder to /app folder
10
+COPY . /app
11
+RUN yarn install
12
+RUN yarn build
13
14
+CMD ["yarn", "start"]
docker-compose.yml
@@ -0,0 +1,8 @@
+version: "1"
+services:
+ docusaurus:
+ build: .
+ ports:
+ - 3000:3000
+ working_dir: /app
package.json
@@ -23,6 +23,7 @@
23
"@docusaurus/preset-classic": "^2.0.0-beta.16",
24
"@mdx-js/react": "^1.5.8",
25
"clsx": "^1.1.1",
26
+ "lint": "^0.8.19",
27
"react": "^17.0.2",
28
"react-dom": "^17.0.2",
29
"react-player": "^2.6.0",
0 commit comments