pathfinder-2-sqlite-MIRROR/Dockerfile

19 lines
462 B
Docker

FROM ubuntu:trusty
# Install the prerequisites for this
RUN sudo apt-get -y update
RUN sudo apt-get -y upgrade
RUN sudo apt-get install -y sqlite3 libsqlite3-dev python3 python3-pip
RUN pip3 install 'pyyaml>5.1'
# Ensure that python runs everything as UTF-8 compatible
ENV PYTHONIOENCODING UTF-8
# Copy the project into the docker image
COPY . /project
WORKDIR /project/bin
# Run the database creation script
CMD [ "python3", "gendb.py"]