mirror of
https://gitea.baerentsen.space/FrederikBaerentsen/BrickTracker.git
synced 2026-01-05 00:00:10 -06:00
18 lines
333 B
Docker
18 lines
333 B
Docker
FROM python:3-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Copy requirements first (so pip install can be cached)
|
|
COPY requirements.txt .
|
|
|
|
# Python library requirements
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
# Bricktracker
|
|
COPY . .
|
|
|
|
# Set executable permissions for entrypoint script
|
|
RUN chmod +x entrypoint.sh
|
|
|
|
ENTRYPOINT ["./entrypoint.sh"]
|