Mercurial > public > python-black-scholes
view Dockerfile @ 13:c3fa0dd36eda
let's change the name because is fucking offensive
committer: GitHub <noreply@github.com>
author | Dennis C. M. <dennis@denniscm.com> |
---|---|
date | Wed, 09 Aug 2023 19:42:40 +0100 |
parents | 3eb56c7efd31 |
children |
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 /fucking-black-sholes # Copy files COPY . . # Install package RUN ["python", "setup.py", "install"] # Test package CMD fbs --spot-price=20.00 --exercise-price=21.00 --risk-free-rate=0.05 --std=0.25 --expiration=0.5