blob: 4a2b50f269b99ae86d84efb35497a3a8201a5a33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
FROM python:3.14.3-slim
RUN apt-get update && apt-get install -y \
curl \
build-essential \
&& rm -rf /var/lib/apt/lists/*
ENV POETRY_VERSION=2.3.2
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"
WORKDIR /artberry_backend
COPY pyproject.toml poetry.lock* /artberry_backend/
RUN poetry install --no-root --only main
COPY . /artberry_backend
RUN chmod +x /artberry_backend/start.sh
EXPOSE 8000
CMD ["/artberry_backend/start.sh"]
|