move url to compose
This commit is contained in:
@@ -2,10 +2,6 @@ FROM python:3.11-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
RUN apt-get update && apt-get install -y git
|
||||
|
||||
RUN git clone https://git.marlow.quest/ash/Garmin-API.git
|
||||
|
||||
COPY requirements.txt .
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
|
||||
|
||||
+1
-2
@@ -1,8 +1,7 @@
|
||||
services:
|
||||
garmin-api:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
context: https://git.marlow.quest/ash/Garmin-API.git
|
||||
container_name: garmin-api
|
||||
ports:
|
||||
- "5000:5000"
|
||||
|
||||
Reference in New Issue
Block a user