Skip to content
Permalink
Browse files

Add Dockerfile

  • Loading branch information...
sickill committed Apr 12, 2017
1 parent d66f666 commit eabd7925f3a96c30af6f81054f7fc5c01dfec92e
Showing with 22 additions and 0 deletions.
  1. +2 −0 .dockerignore
  2. +20 −0 Dockerfile
@@ -0,0 +1,2 @@
dist/*
**/*.pyc
@@ -0,0 +1,20 @@
FROM ubuntu:16.04

RUN apt-get update && apt-get install -y \
ca-certificates \
locales \
python3 \
python3-setuptools
RUN localedef -i en_US -c -f UTF-8 -A /usr/share/locale/locale.alias en_US.UTF-8
RUN mkdir /usr/src/app
COPY setup.cfg /usr/src/app
COPY setup.py /usr/src/app
COPY README.md /usr/src/app
COPY asciinema /usr/src/app/asciinema
WORKDIR /usr/src/app
RUN python3 setup.py install
ENV LANG en_US.utf8
ENV SHELL /bin/bash
ENV USER docker
WORKDIR /root
CMD ["asciinema", "rec"]

0 comments on commit eabd792

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.