svg-to-dxf/Dockerfile

12 lines
386 B
Docker
Raw Normal View History

2020-12-08 19:18:28 +00:00
FROM jess/inkscape
2021-03-21 15:41:06 +00:00
RUN apt-get update && apt-get install -y python-lxml python-numpy wget
RUN wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz && rm -rf /usr/local/go && tar -C /usr/local -xzf go1.16.2.linux-amd64.tar.gz && ln -s /usr/local/go/bin/go /usr/local/bin/go && go version
2020-12-08 19:18:28 +00:00
WORKDIR /app
2021-03-21 15:41:06 +00:00
ADD main.go index.html ./
2020-12-08 19:18:28 +00:00
RUN go build -o main main.go
ENTRYPOINT ["/app/main"]