Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
dbsqp authored Apr 8, 2021
1 parent 0eebd78 commit 9c1723f
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
ARG ARCH=

# Pull base image
FROM ubuntu:latest

# Labels
LABEL MAINTAINER="https://github.com/dbsqp/"

# Setup external package-sources
RUN apt-get update && apt-get install -y \
python3 \
python3-dev \
python3-setuptools \
python3-pip \
python3-virtualenv \
--no-install-recommends && \
rm -rf /var/lib/apt/lists/*

# RUN pip install setuptools
RUN pip3 install pytz influxdb-client requests

# Environment vars
ENV PYTHONIOENCODING=utf-8

# Copy files
ADD lnetatmo.py /
ADD netatmo2influxdb.py /
ADD get.sh /

# Run
CMD ["/bin/bash","/get.sh"]

0 comments on commit 9c1723f

Please sign in to comment.