<commit_before># Go2o Docker Image
# Version 1.0
# Author : jarrysix(<EMAIL>)
# Date : 2019-06-12 13:20

FROM golang:latest AS build
ENV GOPATH=/gobuild
COPY ./app ./app
COPY ./core ./core
COPY ./*.go go.mod LICENSE README.md app.conf ./

#ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.io
RUN rm -rf go.sum && sed -i 's/replace github.com\/ixre/\/\/replace  github.com\/ixre/g' go.mod && \
    go mod tidy && \
    CGO_ENABLED=0 GOOS=linux ARCH=amd64 go build -o go2o go2o-serve.go

RUN mkdir -p /opt/go2o/dist && \
    cp -r go2o LICENSE README.md app.conf /opt/go2o/dist

FROM alpine
MAINTAINER jarrysix<commit_msg>go.mod<commit_after># Go2o Docker Image
# Version 1.0
# Author : jarrysix(<EMAIL>)
# Date : 2019-06-12 13:20

FROM golang:latest AS build
ENV GOPATH=/gobuild
COPY ./app ./app
COPY ./core ./core
COPY ./*.go go.mod LICENSE README.md app.conf ./

#ENV GO111MODULE=on
ENV GOPROXY=https://goproxy.io
RUN rm -rf go.sum && sed -i 's/replace github.com\/ixre/\/\/replace  github.com\/ixre/g' go.mod && \
    go mod tidy && \
    CGO_ENABLED=0 GOOS=linux ARCH=amd64 go build -o go2o go2o-serve.go && \
    mkdir -p /opt/go2o/dist && \
    cp -r go2o LICENSE README.md app.conf /opt/go2o/dist

FROM alpine
MAINTAINER jarrysix
{'fraction_non_alphanumeric': 0.1492295214922952, 'fraction_numerical': 0.042173560421735604, 'mean_word_length': 2.9174603174603173, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4058848', 'n_tokens_mistral': 546, 'n_tokens_neox': 494, 'n_words': 136}