python3 docker changes

This commit is contained in:
Per Qvarforth 2022-10-09 13:40:46 +00:00
parent 00e8dc64c3
commit 755daeeaac
2 changed files with 1 additions and 13 deletions

View File

@ -33,16 +33,6 @@ services:
- "db" - "db"
- "aprsc" - "aprsc"
heatmaps:
image: peterus/trackdirect-python:latest
restart: always
volumes:
- $PWD/config/trackdirect.ini:/root/trackdirect/config/trackdirect.ini
- $PWD/heatmaps:/root/trackdirect/htdocs/public/heatmaps
command: /root/trackdirect/server/scripts/heatmapcreator.sh trackdirect.ini /root/trackdirect/htdocs/public/heatmaps
depends_on:
- "db"
web: web:
image: peterus/trackdirect-apache:latest image: peterus/trackdirect-apache:latest
restart: always restart: always

View File

@ -4,10 +4,8 @@ RUN apt-get update && apt-get install -y \
python3 \ python3 \
python3-dev \ python3-dev \
python3-pip \ python3-pip \
python-is-python3 \
git \ git \
curl \
wget \
gcc \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
COPY . /root/trackdirect COPY . /root/trackdirect