Docker container for continuously convert *.proto files into .ts/.js files
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile
LICENSE
README.md
package.json

README.md

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