This repository has been archived by the owner on Sep 13, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to version v0.4 of the Protocol (#18)
- Loading branch information
Showing
25 changed files
with
1,522 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# Use an official Python runtime as a parent image | ||
FROM python:3.11-slim-buster as base | ||
|
||
# Set work directory in the container | ||
WORKDIR /app | ||
|
||
# Install system dependencies | ||
RUN apt-get update \ | ||
&& apt-get install -y build-essential curl ffmpeg \ | ||
&& apt-get clean \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
# Install Poetry - respects $POETRY_VERSION & $POETRY_HOME | ||
ENV POETRY_VERSION=1.1.8 \ | ||
POETRY_HOME="/opt/poetry" \ | ||
POETRY_NO_INTERACTION=1 \ | ||
POETRY_VIRTUALENVS_CREATE=false \ | ||
PATH="$POETRY_HOME/bin:$PATH" | ||
|
||
RUN pip3 install poetry | ||
|
||
COPY pyproject.toml poetry.lock* /app/ | ||
|
||
# Project initialization: | ||
RUN poetry install --no-interaction --no-ansi | ||
|
||
ENV PYTHONPATH="/app:$PYTHONPATH" | ||
|
||
FROM base as dependencies | ||
|
||
# Copy project | ||
COPY . /app | ||
|
||
|
||
# Make port 80 available to the world outside this container | ||
EXPOSE 8000 | ||
|
||
# Run the application when the container launches | ||
CMD ["poetry", "run", "python", "autogpt/__main__.py"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.