Browse Source

remove old dockerfiles

pull/1/head
amper43 6 years ago
parent
commit
172a17bf69
  1. 19
      Dockerfile_analytics
  2. 23
      Dockerfile_server

19
Dockerfile_analytics

@ -1,19 +0,0 @@
FROM python:3.6.6
EXPOSE 8000
VOLUME [ "/var/www/data" ]
COPY analytics /var/www
WORKDIR /var/www/analytics
RUN pip install -r requirements.txt \
&& apt-get update && apt-get install -y \
gnupg \
curl \
make \
g++ \
git
CMD ["python", "server.py"]

23
Dockerfile_server

@ -1,23 +0,0 @@
FROM python:3.6.6
VOLUME [ "/var/www/data" ]
COPY server /var/www/
WORKDIR /var/www/server
RUN apt-get install curl \
bash \
gnupg \
curl \
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
CMD ["npm", "start"]
Loading…
Cancel
Save