<commit_before>
# docker run -t -i -p 8080:8080 -p 9001:9001 -v /Users/eric/Desktop/Test:/home  emilletfr/domo-server-vapor-docker

#FROM emilletfr/swift-docker:swift-3.0.2-release
FROM swift:4.1

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm

USER root

RUN mkdir /root/.vapor
RUN cd /root/.vapor && mkdir /domo-server-vapor
ADD . /root/.vapor/domo-server-vapor
WORKDIR /root/.vapor/domo-server-vapor
RUN swift build 
CMD ["./.build/debug/App"]


# Standard Supervisor port
#EXPOSE 9001
# Standard SSH port
#EXPOSE 22

# Add user jenkins to the image.
#RUN adduser --quiet jenkins
# Set password for the jenkins user (you may want to alter this).
#RUN echo "jenkins:jenkins" | chpasswd
# Allow the jenkins user to update the system.
#RUN echo "jenkins ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/jenkins

# Set up sshd.
#RUN sed -i 's|session    required     pam_loginuid.so|session    optional     pam_loginuid.so|g' /etc/pam.d/sshd<commit_msg>update swift base image to 4.1.3<commit_after>
# docker run -t -i -p 8080:8080 -p 9001:9001 -v /Users/eric/Desktop/Test:/home  emilletfr/domo-server-vapor-docker

#FROM emilletfr/swift-docker:swift-3.0.2-release
FROM swift:4.1.3

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive
ENV TERM xterm

USER root

RUN mkdir /root/.vapor
RUN cd /root/.vapor && mkdir /domo-server-vapor
ADD . /root/.vapor/domo-server-vapor
WORKDIR /root/.vapor/domo-server-vapor
RUN swift build 
CMD ["./.build/debug/App"]


# Standard Supervisor port
#EXPOSE 9001
# Standard SSH port
#EXPOSE 22

# Add user jenkins to the image.
#RUN adduser --quiet jenkins
# Set password for the jenkins user (you may want to alter this).
#RUN echo "jenkins:jenkins" | chpasswd
# Allow the jenkins user to update the system.
#RUN echo "jenkins ALL=(ALL) NOPASSWD: ALL" > /etc/sudoers.d/jenkins

# Set up sshd.
#RUN sed -i 's|session    required     pam_loginuid.so|session    optional     pam_loginuid.so|g' /etc/pam.d/sshd
{'fraction_non_alphanumeric': 0.12, 'fraction_numerical': 0.029367088607594936, 'mean_word_length': 3.6713947990543736, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '6359148', 'n_tokens_mistral': 809, 'n_tokens_neox': 747, 'n_words': 218}