electron-distribution/Dockerfile

22 lines
274 B
Docker
Raw Normal View History

2019-06-07 23:04:57 +08:00
FROM node:12.4.0-alpine
LABEL AUTHOR="yi-ge"
LABEL maintainer="a@wyr.me"
RUN apk add --no-cache \
libstdc++ \
libgcc \
rsync \
openssh-client \
bash \
ca-certificates \
git
RUN mkdir /project
ADD . /project
WORKDIR /project
EXPOSE 80
CMD ["npm", "start"]