Dockerfile Transpiler
Overview
Section titled “Overview”Synapse can transpile existing Dockerfiles into native Wasm templates:
from synapse.dockerfile_transpiler import DockerfileTranspiler
transpiler = DockerfileTranspiler()template = transpiler.transpile("./Dockerfile")template.register()Supported Instructions
Section titled “Supported Instructions”| Dockerfile Instruction | Support |
|---|---|
FROM | ✅ |
RUN | ✅ |
COPY | ✅ |
ENV | ✅ |
WORKDIR | ✅ |
EXPOSE | ✅ |
CMD | ✅ |
ENTRYPOINT | ✅ |
ARG | ✅ |
USER | ✅ |