fix: add extra hosts

This commit is contained in:
mco-system 2023-04-23 17:57:37 +11:00
parent ecb2df60f4
commit a1d95603a0
3 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,7 @@ install:
. thsf_venv/bin/activate; \
pip install -r requirements.txt ;\
pip install . ;\
pip install gunicorn; \
pip install gunicorn;
run:
set -e ;\

View File

@ -4,7 +4,9 @@ services:
build:
dockerfile: thsf.Dockerfile
context: .
extra_hosts:
- "23.thsf.net:192.168.122.26"
ports:
- "127.0.0.1:8042:8042"
- "0.0.0.0:8042:8042"
image: thsf:latest
container_name: thsf

View File

@ -1,3 +1,4 @@
ARG PRETALX_HOSTS_ENTRY
FROM python:3.9.16-bullseye as thsf_base
RUN apt-get update -y && \
apt-get install -y bash make python3-pip && \