Skip to content

Commit

Permalink
Merge pull request #18 from djerfy/fix/build
Browse files Browse the repository at this point in the history
Fix build image
  • Loading branch information
william-gr authored Dec 6, 2023
2 parents 07f12c4 + 16af2ba commit 1e5e7b6
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
FROM caddy:2.5.2-alpine as caddyimage
FROM debian:stable-slim
FROM debian:bullseye-slim

# Identify the maintainer of an image
LABEL maintainer="[email protected]"
Expand Down
3 changes: 1 addition & 2 deletions docker/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ set -e

export CHIA_ROOT=/data/chia/${CHIA_NETWORK:=mainnet}
export POOL_CONFIG_PATH="/data/config.yaml"
POOL_LOG_DIR=${POOL_LOG_DIR:=/data/pool_log}
export POOL_LOG_DIR
export POOL_LOG_DIR=${POOL_LOG_DIR:=/data/pool_log}

cd /root/api
../venv/bin/python manage.py collectstatic --no-input
Expand Down
2 changes: 1 addition & 1 deletion openchiaapi/openchiaapi/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
SECRET_KEY = django_settings.get('secret_key') or 'django-insecure'

# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = django_settings.get('debug', True)
DEBUG = django_settings.get('debug', False)

ALLOWED_HOSTS = django_settings.get('allowed_hosts') or ['localhost']

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
git+https://github.com/openchia/chia-blockchain.git@issues/websockets#egg=chia-blockchain
git+https://github.com/openchia/pool.git@main#egg=pool
djangorestframework==3.13.1
drf-yasg==1.20.0
djangorestframework==3.14.0
drf-yasg==1.21.7
requests==2.25.1
django-filter==2.4.0
psycopg2==2.9.1
Expand Down

0 comments on commit 1e5e7b6

Please sign in to comment.