mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-02-05 22:53:57 +00:00
20 lines
410 B
Docker
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"]
|