summaryrefslogtreecommitdiff
path: root/Dockerfile
blob: 690c80dfbe9a6278858b9658b66f012db2f8746d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Use the official Python 3.9 slim image as the base image
FROM python:3.9-slim as builder

# Set the working directory
WORKDIR /app

# Install system dependencies required for Poetry
RUN apt-get update && \
    dpkg --add-architecture arm64

COPY ./requirements.txt requirements.txt

# Install the project dependencies
RUN pip install -r requirements.txt

# Copy the rest of the application code
COPY . .

# Run the application using 'poetry run krr simple'
CMD ["python", "krr.py", "simple"]