1
0
Fork 0
file-manager/Dockerfile

17 lines
281 B
Docker
Raw Normal View History

2018-03-10 22:26:23 +08:00
FROM node:9-stretch
RUN apt-get update \
&& apt-get install -y build-essential zip unzip \
&& apt-get clean && rm -rf /var/lib/apt/lists/*
COPY . /src
RUN cd /src \
&& yarn install \
&& yarn cache clean
VOLUME /data
WORKDIR /data
CMD ["node", "/src/index.js"]