Skip to content

Commit

Permalink
Dockerfile update
Browse files Browse the repository at this point in the history
  • Loading branch information
open-risk committed Mar 12, 2023
1 parent 915e7ab commit 5cee551
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ChangeLog
===========================
PLEASE NOTE THIS IS ONLY A PLANNING RELEASE. THE OPENNPL API IS STILL UNSTABLE
PLEASE NOTE THIS IS ONLY A BETA RELEASE. THE OPENNPL API IS STILL UNSTABLE

v0.6.0 (12-03-2023)
-------------------
Expand Down
11 changes: 10 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,20 @@
FROM python:3.9-slim
MAINTAINER Open Risk <www.openriskmanagement.com>
LABEL version="0.6"
LABEL author="Open Risk <www.openriskmanagement.com>"
LABEL description="openNPL: Open Source Credit Portfolio Management"
LABEL maintainer="[email protected]"
EXPOSE 8080
ENV PYTHONUNBUFFERED 1
ENV PYTHONDONTWRITEBYTECODE 1
ENV DJANGO_SETTINGS_MODULE openNPL.settings
ENV DJANGO_ALLOWED_HOSTS localhost 127.0.0.1 [::1]
RUN apt-get update && apt-get install -y \
gdal-bin \
proj-bin \
libgdal-dev \
libproj-dev \
spatialite-bin\
libsqlite3-mod-spatialite
RUN mkdir /opennpl
WORKDIR /opennpl
COPY requirements.txt /opennpl/
Expand Down
4 changes: 3 additions & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ pandas
scipy
Pillow
tablib
setuptools
django-debug-toolbar
setuptools
django-extensions

0 comments on commit 5cee551

Please sign in to comment.