Commit 7913214c authored by nanahira's avatar nanahira

minimize image

parent 32b8e0ef
Dockerfile
.dockerignore
.git*
/LICENSE
/README.md
FROM node:stretch
FROM node:stretch-slim
#RUN sed -i 's/deb.debian.org/mirrors.163.com/g' /etc/apt/sources.list && \
# sed -i 's/security.debian.org/mirrors.163.com/g' /etc/apt/sources.list
......@@ -6,7 +6,7 @@ FROM node:stretch
# apt
RUN apt update && \
env DEBIAN_FRONTEND=noninteractive apt install -y curl wget vim sudo git sqlite3 python2.7 python-virtualenv python3.5 python3-virtualenv ffmpeg nginx
env DEBIAN_FRONTEND=noninteractive apt install -y python2.7 python-virtualenv python3.5 python3-virtualenv ffmpeg nginx
#pm2
RUN npm install -g pm2
......@@ -34,5 +34,5 @@ RUN cp -rf /taiko-web/docker/taiko-web-nginx.conf /etc/nginx/conf.d/ && \
#info
EXPOSE 80
VOLUME ["/taiko-web/public/songs"]
VOLUME [ "/taiko-web/public/songs" ]
CMD [ "/taiko-web/docker/entrypoint.sh" ]
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment