Compare commits
2 Commits
c7eaa0f02f
...
072c762ad0
Author | SHA1 | Date |
---|---|---|
|
072c762ad0 | 2 months ago |
|
5a5fb33dda | 2 months ago |
@ -0,0 +1,5 @@
|
||||
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
|
@ -0,0 +1,7 @@
|
||||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
|
||||
}
|
@ -1,4 +0,0 @@
|
||||
#!/bin/bash
|
||||
set -eux
|
||||
python manage.py migrate --noinput
|
||||
gunicorn checkout.wsgi -b 0.0.0.0:8000 --log-file -
|
Loading…
Reference in New Issue