jbirddog ea9336e625
docker compose overlay file for editable backend container (#1098)
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-02-23 19:13:16 -05:00

20 lines
410 B
Docker

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 \
pkg-config libffi-dev git-core curl
RUN pip install --upgrade pip
RUN pip install poetry==1.6.1 pytest-xdist
COPY pyproject.toml poetry.lock .
RUN poetry install --no-root
COPY ./ ./
RUN poetry install --only-root
CMD ["./bin/run_server_locally"]