Commit 28b18a5f authored by Bogdan Bodnar's avatar Bogdan Bodnar

Add Dockerfile

parent 0167f60c
__pycache__
*.pyc
*.pyo
*.cache
.eggs
haas_proxy.egg-info
/build
/dist
/release
haas.log
haas.pid
Dockerfile*
pylintrc
README.md
CHANGELOG.txt
Makefile
test_haas_proxy.py
.gitignore
.gitlab-ci.yml
#IDEs
.vscode
.idea
FROM alpine:3.5
WORKDIR proxy
ADD . /proxy
RUN apk add --no-cache \
gcc \
musl-dev \
python3-dev \
py3-pip \
py3-cffi \
py3-cryptography \
ca-certificates \
sshpass \
openssh
RUN pip3 install --upgrade pip
RUN python3 -m pip install -e .
EXPOSE 2222
CMD python3 -m haas_proxy --nodaemon haas_proxy --device-token ${DEVICE_TOKEN}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment