Created
December 19, 2016 14:11
-
-
Save imWildCat/4eb264ed33e69c70cb391bc68aa48810 to your computer and use it in GitHub Desktop.
Dockerfile - wechaty custom
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM mhart/alpine-node:7 | |
RUN apk update && apk upgrade \ | |
&& apk add \ | |
bash \ | |
ca-certificates \ | |
chromium-chromedriver \ | |
chromium \ | |
coreutils \ | |
ffmpeg \ | |
figlet \ | |
udev \ | |
vim \ | |
xauth \ | |
xvfb \ | |
&& rm -rf /tmp/* /var/cache/apk/* | |
RUN npm install -g yarn | |
RUN mkdir /chaty | |
WORKDIR /chaty | |
COPY ./src . | |
COPY ./bin . | |
COPY ./package.json . | |
COPY tsconfig.json . | |
COPY .env . | |
COPY yarn.lock . | |
RUN yarn install --ignore-optional | |
ENTRYPOINT [ "/bin/bash" ] | |
CMD [ "npm run build && npm start" ] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Sry for this long delay.
It still not worked: