Files
decluttarr/docker/Dockerfile
Benjamin Harder 39e9b77ace Fixed variable
2024-02-19 00:04:06 +01:00

25 lines
565 B
Docker

#FROM python:3.9-slim-buster
# For debugging:
# sudo docker run --rm -it --entrypoint sh ghcr.io/manimatter/decluttarr:dev
FROM python:3.10.13-slim
# Define a build-time argument for IMAGE_TAG
ARG IMAGE_TAG
# Set an environment variable using the build-time argument
ENV IMAGE_TAG=$IMAGE_TAG
LABEL org.opencontainers.image.source="https://github.com/ManiMatter/decluttarr"
ENV IS_IN_DOCKER 1
WORKDIR /app
COPY . .
RUN pip install --no-cache-dir -r docker/requirements.txt
CMD ["python", "main.py"]