You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
jsondict/Dockerfile

34 lines
641 B

FROM phusion/baseimage:0.9.19
# Standard stuff
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8
# Stuff for building steem-python
ARG BUILD_ROOT=/build
# Now we install the essentials
RUN \
apt-get update && \
apt-get install -y python3-pip
# This updates the distro-provided pip
RUN pip3 install --upgrade pip
RUN mkdir ${BUILD_ROOT}
COPY Makefile ${BUILD_ROOT}/
COPY Pipfile ${BUILD_ROOT}/
COPY Pipfile.lock ${BUILD_ROOT}/
WORKDIR ${BUILD_ROOT}
RUN pip3 install --upgrade pip && \
pip3 install --upgrade pipenv && \
pipenv install --three --dev && \
pipenv install .
COPY . ${BUILD_ROOT}
# run tests
RUN pipenv run py.test