mirror of
https://github.com/status-im/spiff-arena.git
synced 2025-01-15 04:34:16 +00:00
ea9336e625
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
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"]
|