mirror of https://github.com/certd/certd
chore: 1
parent
f2d894b036
commit
15eba52fad
|
@ -1,6 +1,5 @@
|
|||
FROM registry.cn-shenzhen.aliyuncs.com/handsfree/node:18-alpine
|
||||
EXPOSE 7001
|
||||
ENV NODE_ENV production
|
||||
ENV MIDWAY_SERVER_ENV production
|
||||
WORKDIR /app/
|
||||
ENV node_sqlite3_binary_host_mirror https://registry.npmmirror.com/-/binary/sqlite3
|
||||
|
@ -18,6 +17,7 @@ RUN sed -i "s/workspace://g" "/app/package.json"
|
|||
RUN pnpm install
|
||||
RUN node ./before-build.js
|
||||
RUN npm run build
|
||||
ENV NODE_ENV production
|
||||
#CMD ["pm2-runtime", "start", "./bootstrap.js","--name", "certd","-i","1"]
|
||||
CMD ["npm", "run","start"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue