mirror of
https://github.com/Crocmagnon/checkout.git
synced 2024-05-02 02:35:09 +02:00
Compare commits
No commits in common. "072c762ad0b9fca32b03e612ad2ac6dbf9ba1203" and "c7eaa0f02fa55881245b9800093eb6b2e54ca8b5" have entirely different histories.
072c762ad0
...
c7eaa0f02f
|
@ -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
|
|
@ -1,7 +0,0 @@
|
|||
{
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": ".."
|
||||
},
|
||||
"postStartCommand": "inv sync-dependencies && pre-commit install --install-hooks"
|
||||
}
|
4
docker/run.sh
Executable file
4
docker/run.sh
Executable 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 -
|
Loading…
Reference in a new issue