12 lines
321 B
Docker
12 lines
321 B
Docker
# syntax=docker.io/docker/dockerfile:1.4
|
|
FROM --platform=linux/riscv64 cartesi/python:3.10-slim-jammy
|
|
|
|
WORKDIR /opt/cartesi/dapp
|
|
|
|
COPY ./requirements.txt .
|
|
RUN pip install -r requirements.txt --no-cache \
|
|
&& find /usr/local/lib -type d -name __pycache__ -exec rm -r {} +
|
|
|
|
COPY ./entrypoint.sh .
|
|
COPY ./converter.py .
|