mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-23 11:56:36 +11:00
Compare commits
2 commits
fc9d7fadd0
...
87f9d063cc
Author | SHA1 | Date | |
---|---|---|---|
|
87f9d063cc | ||
|
7015be1355 |
2 changed files with 13 additions and 1 deletions
|
@ -21,7 +21,7 @@ RUN make js
|
||||||
|
|
||||||
# ------------------------------------------------
|
# ------------------------------------------------
|
||||||
|
|
||||||
FROM python:3.10 as build
|
FROM python:3.12 as build
|
||||||
|
|
||||||
ARG BUILD_EXTRAS=production
|
ARG BUILD_EXTRAS=production
|
||||||
|
|
||||||
|
|
12
minimal.docker-compose.yml
Normal file
12
minimal.docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
services:
|
||||||
|
dpaste:
|
||||||
|
container_name: dpaste
|
||||||
|
image: darrenofficial/dpaste:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
DATABASE_URL: sqlite:////db/dpaste.sqlite
|
||||||
|
PORT: 8000
|
||||||
|
volumes:
|
||||||
|
- ./data/db:/db
|
||||||
|
ports:
|
||||||
|
- "8000:8000"
|
Loading…
Reference in a new issue