Answer the question
In order to leave comments, you need to log in
Why is there different behavior when building a Dockerfile locally and in CI/DI?
docfile:
FROM keymetrics/pm2:12-alpine
ARG APP_DIR=app
RUN mkdir -p ${APP_DIR}
WORKDIR ${APP_DIR}
COPY package.json ./
RUN yarn
COPY . .
RUN yarn build
EXPOSE 3000
CMD [ "pm2-runtime", "ecosystem.config.js", "--env", "production" ]
Answer the question
In order to leave comments, you need to log in
well, it seems like you don’t have some module installed on your roker, which is building from gitlab)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question