We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9bca29c commit 0d3fe64Copy full SHA for 0d3fe64
Dockerfile.production
@@ -1,11 +1,12 @@
1
-FROM node:18.18.0-alpine3.18 as build
+FROM node:18.18.0-alpine3.18 AS build
2
3
WORKDIR /app
4
5
COPY . .
6
7
WORKDIR /app/docusaurus
8
9
+RUN yarn run download-docs
10
RUN yarn install
11
RUN yarn build
12
docusaurus/package.json
@@ -5,7 +5,7 @@
"scripts": {
"docusaurus": "docusaurus",
"start": "docusaurus start",
- "download-docs": "bash ../scripts/download-docs.sh",
+ "download-docs": "sh ../scripts/download-docs.sh",
"build": "docusaurus build",
"swizzle": "docusaurus swizzle",
"meili-scrape": "node ./scripts/meilisearch.js",
scripts/download-docs.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
ROOT_DIR="$(dirname "$0")/.."
0 commit comments