SIGN IN SIGN UP
reworkd / AgentGPT UNCLAIMED

๐Ÿค– Assemble, configure, and deploy autonomous AI Agents in your browser.

0 0 0 TypeScript
FROM python:3.11-slim-buster as prod
RUN apt-get update && apt-get install -y \
default-libmysqlclient-dev \
gcc \
pkg-config \
2023-07-28 12:06:38 -07:00
openjdk-11-jdk \
2023-09-10 16:51:34 -07:00
build-essential \
&& rm -rf /var/lib/apt/lists/*
RUN pip install poetry==1.4.2
# Configuring poetry
RUN poetry config virtualenvs.create false
# Copying requirements of a project
2023-06-21 18:55:25 -07:00
COPY pyproject.toml /app/src/
WORKDIR /app/src
# Installing requirements
RUN poetry install --only main
# Removing gcc
RUN apt-get purge -y \
2023-09-10 16:51:34 -07:00
g++ \
gcc \
pkg-config \
&& rm -rf /var/lib/apt/lists/*
# Copying actual application
COPY . /app/src/
2023-06-21 21:03:43 -07:00
RUN poetry install --only main
CMD ["/usr/local/bin/python", "-m", "reworkd_platform"]
FROM prod as dev
RUN poetry install