Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 727 Bytes

README.md

File metadata and controls

36 lines (27 loc) · 727 Bytes

docker-protobuf-ts-converter

Docker container for continuously convert *.proto files into .ts/.js files.

Based on...

Feature

  • watch file changes
  • small image size (80.3MB)

Usage

$ docker build . -t dptc
$ docker run \
    -v /your/protobuf/dir:/src \
    -v /frontend/protobuf/dir:/dist \
    -e SHELL=sh \
    dptc

or in docker-compose.yml

  converter:
    build: ./this/dir or use image 'esplo/docker-protobuf-ts-converter'
    volumes:
      - /your/protobuf/dir:/src
      - /frontend/protobuf/dir:/dist
    environment:
      - SHELL=/bin/sh