view Dockerfile @ 26:7d3cc440e578

add setup.py
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Sun, 21 Nov 2021 18:54:10 +0100
parents 32061555853c
children 30535f42d0ff
line wrap: on
line source

# syntax=docker/dockerfile:1

# Install Python image
FROM python:3.8-slim-buster

# Create working directory and install dependencies
WORKDIR /bitcaviar-plus

# Copy files
COPY . .

# Install package
RUN ["python", "setup.py", "install"]

# Test package
CMD ["python3", "-u", "tests/implementation_testing.py"]