Apparently has less issues with gcc https://github.com/docker-library/python/issues/869
10 lines
No EOL
376 B
Docker
10 lines
No EOL
376 B
Docker
FROM --platform=$TARGETPLATFORM python:3.11-slim
|
|
LABEL org.opencontainers.image.source=https://github.com/mdiluz/matchy
|
|
LABEL org.opencontainers.image.description="Matchy matches matchees"
|
|
LABEL org.opencontainers.image.licenses=Unlicense
|
|
|
|
WORKDIR /usr/src/app
|
|
COPY requirements.txt ./
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
COPY . .
|
|
CMD ["python", "py/matchy.py"] |