File: Dockerfile

package info (click to toggle)
gitsome 0.7.0%2Bgit20180130.5751a31%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 1,472 kB
  • sloc: python: 9,279; sh: 22; makefile: 13
file content (26 lines) | stat: -rw-r--r-- 937 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
##########################################################
#                                                        #
#  Build the image:                                      #
#    docker build -t gitsome .                           #
#                                                        #
#  Run the container:                                    #
#   docker run -ti --rm -v $(pwd):/src/                \ #
#       -v ${HOME}/.gitsomeconfig:/root/.gitsomeconfig \ #
#       -v ${HOME}/.gitconfig:/root/.gitconfig         \ #
#       gitsome                                          #
#                                                        #
##########################################################
FROM python:3.5

RUN pip install Pillow

COPY /requirements-dev.txt /gitsome/
WORKDIR /gitsome/
RUN pip install -r requirements-dev.txt

COPY / /gitsome/
RUN pip install -e .

RUN mkdir /src/
WORKDIR /src/
ENTRYPOINT ["gitsome"]