python3 docker changes
This commit is contained in:
parent
00e8dc64c3
commit
755daeeaac
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue