* build: update dockerfile for dev environment * chore: add script to centralize docker commands * build: create docker-compose.yml for services * chore: add makefile target for docker-compose
22 lines
320 B
Docker
22 lines
320 B
Docker
FROM python:3.12-bookworm
|
|
ENV TZ=UTC
|
|
|
|
WORKDIR /app
|
|
|
|
RUN apt update -y
|
|
RUN apt install \
|
|
build-essential \
|
|
curl \
|
|
npm \
|
|
-y
|
|
|
|
COPY . /app
|
|
|
|
RUN pip install poetry
|
|
RUN poetry config virtualenvs.create false
|
|
RUN poetry install --no-interaction --no-ansi
|
|
|
|
EXPOSE 7860
|
|
EXPOSE 3000
|
|
|
|
CMD ["./docker/dev.start.sh"]
|