Debian Codegraph @

doc/pyodide/Dockerfile

raw
1 # Dockerfile for building Pyodide with a Pygmenets version from the current checkout.
2 # This is used by the `pyodide` tox environment (see /tox.ini).
3 FROM ghcr.io/pyodide/pyodide:0.20.0 AS build-stage
4
5 WORKDIR pyodide
6
7 # Copy new meta with path to local Pygments instead of pypi url.
8 COPY doc/pyodide/meta.yaml packages/Pygments/
9
10 COPY . /pygments
11
12 # Add Pygments to the Pyodide build.
13 ENV PYODIDE_PACKAGES=Pygments
14
15 # Build Pyodide.
16 RUN make
17
18 FROM scratch AS export-stage
19
20 COPY --from=build-stage /src/pyodide/build /