Skip to content

Commit

Permalink
Create Dockerfile
Browse files Browse the repository at this point in the history
docker build -t pilbox .

docker run pilbox
  • Loading branch information
mhunesi authored May 25, 2021
1 parent d05d1c0 commit bcd27b2
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
FROM alpine

RUN apk --no-cache add \
build-base \
python3 \
python3-dev \
# wget dependency
openssl \
# dev dependencies
bash \
git \
py3-pip \
sudo \
# Pillow dependencies
freetype-dev \
fribidi-dev \
harfbuzz-dev \
jpeg-dev \
lcms2-dev \
openjpeg-dev \
tcl-dev \
tiff-dev \
tk-dev \
zlib-dev

RUN python3 -m pip install --upgrade pip

RUN python3 -m pip install --upgrade Pillow

RUN pip install pilbox

EXPOSE 8888

CMD [ "python3", "-m" , "pilbox.app"]

0 comments on commit bcd27b2

Please sign in to comment.