mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-01-21 23:34:24 +01:00
Updates gitignore
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -11,7 +11,7 @@ logs/
|
|||||||
|
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.idea
|
.idea
|
||||||
venv/*
|
/pisa-btc/venv/*
|
||||||
conf.py
|
conf.py
|
||||||
bitcoin.conf*
|
bitcoin.conf*
|
||||||
*__pycache__
|
*__pycache__
|
||||||
|
|||||||
20
Dockerfile
Normal file
20
Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
# Use the official Ubuntu 16.04 as a parent image.
|
||||||
|
FROM ubuntu:16.04
|
||||||
|
|
||||||
|
# Update the package list and install software properties common.
|
||||||
|
RUN apt-get update && apt-get install -y software-properties-common autoconf automake build-essential git libtool \
|
||||||
|
libgmp-dev libsqlite3-dev python python3 net-tools zlib1g-dev vim wget curl iputils-ping
|
||||||
|
|
||||||
|
# Install pip
|
||||||
|
RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
|
||||||
|
RUN python3 get-pip.py
|
||||||
|
|
||||||
|
# Add pisa files
|
||||||
|
ADD pisa-btc /root/pisa-btc
|
||||||
|
WORKDIR /root/pisa-btc
|
||||||
|
|
||||||
|
# Export pythonpath
|
||||||
|
RUN echo export PYTHONPATH="$PYTHONPATH:/root/pisa-btc/" >> /root/.bashrc
|
||||||
|
|
||||||
|
# Install dependencies
|
||||||
|
RUN pip3 install -r requirements.txt
|
||||||
Reference in New Issue
Block a user