Skip to content

Commit 0862892

Browse files
committed
fix: Fix issue for openapi-generator-cli.
1 parent 46ea7e5 commit 0862892

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docker/editor-server/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,8 @@ RUN curl -sL https://deb.nodesource.com/setup_${NODEJS_VERSION}.x | bash - \
113113
&& npm install -g @aws-amplify/cli \
114114
&& npm install -g @openapitools/openapi-generator-cli \
115115
&& npm install -g ts-node \
116-
&& echo "export NODE_PATH=/usr/lib/node_modules" | tee -a "/etc/zsh/zshenv"
117-
&& test -x /usr/lib/node_modules/@openapitools/openapi-generator-cli/main.js && /usr/lib/node_modules/@openapitools/openapi-generator-cli/main.js
116+
&& echo "export NODE_PATH=/usr/lib/node_modules" | tee -a "/etc/zsh/zshenv" \
117+
&& /usr/bin/node /usr/lib/node_modules/@openapitools/openapi-generator-cli/main.js
118118

119119

120120
# install golang

0 commit comments

Comments
 (0)