2024-02-24 00:13:16 +00:00
|
|
|
FROM python:3.12.1-slim-bookworm
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
RUN apt-get update \
|
|
|
|
&& apt-get install -y -q \
|
|
|
|
gcc libssl-dev libpq-dev default-libmysqlclient-dev \
|
2024-02-29 14:55:09 +00:00
|
|
|
pkg-config libffi-dev git-core curl sqlite3 \
|
2024-02-29 10:27:06 +00:00
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*
|
2024-02-24 00:13:16 +00:00
|
|
|
|
|
|
|
RUN pip install --upgrade pip
|
2024-02-28 14:49:45 +00:00
|
|
|
RUN pip install poetry==1.8.1 pytest-xdist==3.5.0
|
2024-02-24 00:13:16 +00:00
|
|
|
|
|
|
|
CMD ["./bin/run_server_locally"]
|