comparison Dockerfile @ 2:3eb56c7efd31

add build config
author Dennis Concepcion Martin <dennisconcepcionmartin@gmail.com>
date Tue, 16 Nov 2021 17:44:53 +0100
parents
children
comparison
equal deleted inserted replaced
1:b853194dc28b 2:3eb56c7efd31
1 # syntax=docker/dockerfile:1
2
3 # Install Python image
4 FROM python:3.8-slim-buster
5
6 # Create working directory and install dependencies
7 WORKDIR /fucking-black-sholes
8
9 # Copy files
10 COPY . .
11
12 # Install package
13 RUN ["python", "setup.py", "install"]
14
15 # Test package
16 CMD fbs --spot-price=20.00 --exercise-price=21.00 --risk-free-rate=0.05 --std=0.25 --expiration=0.5