Sign inSign up

ceramicwhite/gpt-engineer

By ceramicwhite

Updated about 2 years ago

AntonOsika/gpt-engineer + gotty

Image
4

10K+

ceramicwhite/gpt-engineer repository overview

  docker run -it -d \
  --name=gpt-engineer \
  -e OPENAI_API_KEY=<your-key> \
  -v ./myproject:/app/myproject \
  -p 3000:3000 \
  --restart unless-stopped \
  ceramicwhite/gpt-engineer:latest myproject

Access at:

http://localhost:3000

Dockerfile:

# syntax=docker/dockerfile:1.5-labs

ARG GIT_TAG=${GIT_TAG:-main}

FROM python:3.10-slim AS app

ARG GIT_TAG

ENV PIP_NO_CACHE_DIR=yes \
    PYTHONUNBUFFERED=1 \
    PYTHONDONTWRITEBYTECODE=1 \
    HOME=/app \
    PATH="${PATH}:/app/.local/bin"

COPY --from=ceramicwhite/gotty /usr/bin/gotty /bin/gotty

WORKDIR /app

ADD https://github.com/AntonOsika/gpt-engineer.git#${GIT_TAG} .

RUN pip install --upgrade pip && \
    pip install -e .

EXPOSE 3000

ENTRYPOINT ["gotty", "--port", "3000", "--permit-write", "--title-format", "GPT-ENGINEER", "python", "-m", "gpt_engineer.main"]
CMD ["projects/example"]

Tag summary

Content type

Image

Digest

sha256:7611e37e4

Size

187.9 MB

Last updated

about 2 years ago

docker pull ceramicwhite/gpt-engineer