Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile from @stegallo modified #56

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
FROM ubuntu

RUN apt-get update

RUN apt-get install -y \
apt-utils \
curl \
wget \
libsm6 \
libxrender1 \
libxext6 \
nano \
ghostscript \
python3-minimal \
python3-setuptools \
python3-pip \
&& ln -s /usr/bin/python3 /usr/bin/python \
&& ln -s /usr/bin/pip3 /usr/bin/pip

EXPOSE 5000

ENV LC_ALL=C.UTF-8
ENV LANG=C.UTF-8

WORKDIR /excalibur/
COPY . ./

RUN pip3 install .

RUN excalibur initdb

RUN cat /root/excalibur/excalibur.cfg | sed 's/127.0.0.1/0.0.0.0/g' > /root/excalibur/excalibur.cfg2; \
mv /root/excalibur/excalibur.cfg2 /root/excalibur/excalibur.cfg