Switch to alpine/slim images when possible

This commit is contained in:
Jérôme Petazzoni
2016-03-28 12:59:06 +00:00
parent d1f95ddb39
commit a34f262a95
3 changed files with 3 additions and 3 deletions

View File

@@ -1,4 +1,4 @@
FROM python
FROM python:alpine
RUN pip install Flask
COPY rng.py /
CMD ["python", "rng.py"]

View File

@@ -1,4 +1,4 @@
FROM node:4
FROM node:4-slim
RUN npm install express
RUN npm install redis
COPY files/ /files/

View File

@@ -1,4 +1,4 @@
FROM python
FROM python:alpine
RUN pip install redis
RUN pip install requests
COPY worker.py /