<commit_before>FROM golang:1.7-alpine
MAINTAINER <NAME>

# Note: if you change GOPATH here, you need to change in .env for docker-compose.yml, too
ENV PORT=3737
ENV GOPATH=/go
ENV PATH=${GOPATH}/bin:${PATH}
ENV APP_USER=appuser
ENV APP_ENV=production

COPY . ${GOPATH}/src/app
WORKDIR ${GOPATH}/src/app

USER root

RUN adduser -s /bin/false -D ${APP_USER} \
 && echo "Installing git and ssh support" \ 
 && apk update && apk upgrade \
 && apk add --no-cache bash git openssh \
 && echo "Installing infrastructural go packages…" \
 && go get github.com/githubnemo/CompileDaemon \
 && go get github.com/Masterminds/glide \
 ## If you are checking-in your deps, you can remove following line
 && echo "Building project…" \
 && glide install \
 && go-wrapper install \
 && echo "Fixing permissions..." \
 && chown -R ${APP_USER} ${GOPATH} \
 && echo "Cleaning up installation caches to reduce image size" \
 && rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/* 

USER ${APP_USER}

EXPOSE 3000

CMD ["go-wrapper", "run"]<commit_msg>port change<commit_after>FROM golang:1.7-alpine
MAINTAINER <NAME>

# Note: if you change GOPATH here, you need to change in .env for docker-compose.yml, too
ENV PORT=3737
ENV GOPATH=/go
ENV PATH=${GOPATH}/bin:${PATH}
ENV APP_USER=appuser
ENV APP_ENV=production

COPY . ${GOPATH}/src/app
WORKDIR ${GOPATH}/src/app

USER root

RUN adduser -s /bin/false -D ${APP_USER} \
 && echo "Installing git and ssh support" \ 
 && apk update && apk upgrade \
 && apk add --no-cache bash git openssh \
 && echo "Installing infrastructural go packages…" \
 && go get github.com/githubnemo/CompileDaemon \
 && go get github.com/Masterminds/glide \
 ## If you are checking-in your deps, you can remove following line
 && echo "Building project…" \
 && glide install \
 && go-wrapper install \
 && echo "Fixing permissions..." \
 && chown -R ${APP_USER} ${GOPATH} \
 && echo "Cleaning up installation caches to reduce image size" \
 && rm -rf /root/src /tmp/* /usr/share/man /var/cache/apk/* 

USER ${APP_USER}

EXPOSE 3737

CMD ["go-wrapper", "run"]
{'fraction_non_alphanumeric': 0.14437984496124032, 'fraction_numerical': 0.009689922480620155, 'mean_word_length': 3.588888888888889, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '4344994', 'n_tokens_mistral': 756, 'n_tokens_neox': 704, 'n_words': 230}