问题描述
我需要有关 Dockerize 我的 prisma + GraphQL 的帮助,我尝试了更多选项和技巧来解决此问题,但无法使其正常工作。 >
似乎当我在没有 Dockerize 的情况下实际运行应用程序时,应用程序可以像下面一样完美运行
但是在 Dockerize 应用程序之后,它向我显示了如下错误
谁能帮我解决这个问题,我无法在本地环境中发布或 Dockerize 应用程序?
Dockerfile
# pull the official base image
FROM node:10.11.0
# set your working directory
workdir /api
# install application dependencies
copY package*.json ./
RUN npm install --silent
RUN npm install -g @prisma/cli
# add app
copY . ./
# will start app
CMD ["node","src/index.js"]
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)