Compare commits

..

No commits in common. "072c762ad0b9fca32b03e612ad2ac6dbf9ba1203" and "c7eaa0f02fa55881245b9800093eb6b2e54ca8b5" have entirely different histories.

3 changed files with 4 additions and 12 deletions

View file

@ -1,5 +0,0 @@
FROM mcr.microsoft.com/devcontainers/python:3.11-bullseye
RUN apt-get update && apt-get upgrade -y
RUN pip install pip-tools invoke
COPY requirements.in requirements.txt requirements-dev.in requirements-dev.txt constraints.txt tasks.py ./
RUN invoke sync-dependencies

View file

@ -1,7 +0,0 @@
{
"build": {
"dockerfile": "Dockerfile",
"context": ".."
},
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
}

4
docker/run.sh Executable file
View file

@ -0,0 +1,4 @@
#!/bin/bash
set -eux
python manage.py migrate --noinput
gunicorn checkout.wsgi -b 0.0.0.0:8000 --log-file -