Skip to content

Commit

Permalink
add captain-definition
Browse files Browse the repository at this point in the history
  • Loading branch information
finnus committed Nov 29, 2023
1 parent 90e626a commit 9f496dc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions captain-definition
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"schemaVersion": 2,
"dockerfilePath": "./compose/production/django/Dockerfile"
}
2 changes: 1 addition & 1 deletion compose/production/django/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ FROM debian:buster-slim AS runtime

RUN apt-get update \
# dependencies for building Python packages
&& apt-get install -y build-essential \
&& apt-get install -y build-essential binutils libproj-dev gdal-bin \
&& apt-get install -y apt-transport-https \
&& apt-get install -y git \
# psycopg2 dependencies
Expand Down
1 change: 1 addition & 0 deletions compose/production/django/start
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ set -o nounset


python /app/manage.py collectstatic --noinput
python /app/manage.py migrate
python /app/manage.py compress --force
python /app/manage.py collectstatic --noinput
/venv/bin/gunicorn config.wsgi --bind 0.0.0.0:5000 --chdir=/app

0 comments on commit 9f496dc

Please sign in to comment.