python3 docker changes
This commit is contained in:
parent
00e8dc64c3
commit
755daeeaac
|
|
@ -33,16 +33,6 @@ services:
|
|||
- "db"
|
||||
- "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:
|
||||
image: peterus/trackdirect-apache:latest
|
||||
restart: always
|
||||
|
|
|
|||
|
|
@ -4,10 +4,8 @@ RUN apt-get update && apt-get install -y \
|
|||
python3 \
|
||||
python3-dev \
|
||||
python3-pip \
|
||||
python-is-python3 \
|
||||
git \
|
||||
curl \
|
||||
wget \
|
||||
gcc \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
COPY . /root/trackdirect
|
||||
|
|
|
|||
Loading…
Reference in New Issue