You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
418 B

6 years ago
FROM python:3.6.6
6 years ago
VOLUME [ "/var/www/data" ]
COPY . /var/www/
WORKDIR /var/www/server
6 years ago
RUN apt-get install curl \
bash \
gnupg \
make \
g++ \
&& curl -sL https://deb.nodesource.com/setup_8.x | bash - \
&& apt-get update \
&& apt-get install nodejs \
&& npm install \
&& npm run build
ENV INSIDE_DOCKER true
6 years ago
CMD ["npm", "start"]