meteor"/>
当使用geoffreybooth / meteor
我是Docker的新手。
我正在尝试使用;
我在步骤12出现错误:
Step 12/14 : RUN bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh ---> Running in 82265ff01645
gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON ... ERROR: Service 'app' failed to build: The command '/bin/sh -c bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh' returned a non-zero code: 1
Dockerfile:
FROM geoffreybooth/meteor-base:1.8.3 COPY ./app/package*.json $APP_SOURCE_FOLDER/ RUN bash $SCRIPTS_FOLDER/build-app-npm-dependencies.sh COPY ./app $APP_SOURCE_FOLDER/ RUN bash $SCRIPTS_FOLDER/build-meteor-bundle.sh FROM node:13.6.0-alpine ENV APP_BUNDLE_FOLDER /opt/bundle ENV SCRIPTS_FOLDER /docker RUN apk --no-cache add \ bash \ ca-certificates COPY --from=0 $SCRIPTS_FOLDER $SCRIPTS_FOLDER/ COPY --from=0 $APP_BUNDLE_FOLDER/bundle $APP_BUNDLE_FOLDER/bundle/ # step 12 which fails RUN bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh ENTRYPOINT ["/docker/entrypoint.sh"] CMD ["node", "main.js"]
不确定失败是否是因为
gyp ERR! find Python
或
ERROR: Service 'app' failed to build: The command '/bin/sh -c bash $SCRIPTS_FOLDER/build-meteor-npm-dependencies.sh' returned a non-zero code: 1
但是文件build-meteor-npm-dependencies.sh位于正确的文件夹中。
TIA。
我是Docker的新手。我正在尝试使用,在步骤12上出现错误:步骤12/14:运行bash $ SCRIPTS_FOLDER / build-。 。
回答如下:我只是继续使用默认设置,它可以正常工作。
更多推荐
当使用geoffreybooth / meteor
发布评论