- Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile
More file actions
Latest commit
15 lines (12 loc) · 522 Bytes
/
Copy pathDockerfile
File metadata and controls
15 lines (12 loc) · 522 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:alpine3.6
LABEL maintainer "cloudops network"
WORKDIR /dockerstool
# copy requirements seperate to make sure we don't compile the modules all the time
COPY requirements.txt ./
RUN apk --no-cache add build-base libffi-dev openssl openssl-dev tzdata \
&& pip install --cache-dir /pipcache --upgrade pip \
&& pip install --cache-dir /pipcache -r requirements.txt \
&& apk del build-base libffi-dev openssl-dev \
&& rm -rf /pipcache /root/.cache/pip
COPY . .
ENTRYPOINT [ "python", "./rt53.py"]