Dockerfile 316 B

1234567891011
  1. FROM ubuntu
  2. RUN sed -i "s/archive\.ubuntu\.com/mirrors\.163\.com/g" /etc/apt/sources.list
  3. RUN apt-get update && \
  4. apt-get -yq install \
  5. git \
  6. nodejs &&\
  7. rm -rf /var/lib/apt/lists/*
  8. add . /socketlog
  9. EXPOSE 1229 1116 8712
  10. WORKDIR /socketlog
  11. ENTRYPOINT ["nodejs", "/socketlog/server/index.js"]