Open Jac-Zac opened 2 years ago
same here
Try changing your Dockerfile to this:
FROM node:16-alpine
ENV NODE_ENV production
WORKDIR /home/node
COPY --chown=node:node . .
RUN apk --no-cache --virtual build-dependencies add \
python3 \
make \
g++ \
&& npm i
USER node
CMD ["npm", "run", "bot"];
I was in the middle of exam session, but now I'm free I have test it and it is fine, thanks.
I get the following error when running the command
docker-compose up --build --detach
. Are you aware of what the problem might be and how I it could be fixed ? I'd be willing to help. Thanks in advance