This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/doc/pyodide/Dockerfile
2023-11-13 07:29:21 +01:00

20 lines
519 B
Docker

# Dockerfile for building Pyodide with a Pygmenets version from the current checkout.
# This is used by the `pyodide` tox environment (see /tox.ini).
FROM ghcr.io/pyodide/pyodide:0.20.0 AS build-stage
WORKDIR pyodide
# Copy new meta with path to local Pygments instead of pypi url.
COPY doc/pyodide/meta.yaml packages/Pygments/
COPY . /pygments
# Add Pygments to the Pyodide build.
ENV PYODIDE_PACKAGES=Pygments
# Build Pyodide.
RUN make
FROM scratch AS export-stage
COPY --from=build-stage /src/pyodide/build /