Files
oopt-gnpy-api/Dockerfile
Renato Ambrosone e48f524d1a refactor: API now rely on gnpy function without re-implementation
Change-Id: Ib71f62f74eaa9fd87606a977f1f2c830b71668d9
2025-03-25 16:04:49 +01:00

7 lines
215 B
Docker

FROM python:3.9-slim
COPY . /oopt-gnpy-api
WORKDIR /oopt-gnpy-api
RUN apt update; apt install -y git
RUN pip install .
RUN mkdir -p /opt/application/oopt-gnpy/autodesign
CMD [ "python", "./samples/rest_example.py" ]