mirror of
https://github.com/skoobasteeve/MTAPI-docker.git
synced 2026-03-20 11:38:57 +00:00
16 lines
313 B
Docker
16 lines
313 B
Docker
FROM python:3.9-alpine
|
|
WORKDIR /app
|
|
|
|
LABEL com.skoobasteeve.mtapi-docker.version="main"
|
|
|
|
RUN apk add --no-cache git
|
|
RUN git clone https://github.com/jonthornton/MTAPI.git /app
|
|
|
|
COPY data/stations.json data/
|
|
COPY data/stations.csv data/
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
CMD [ "python", "app.py" ]
|
|
EXPOSE 5000
|