Skip to content

Commit

Permalink
Update docker file formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
Swiftyos authored and Pwuts committed Sep 20, 2024
1 parent 6ae6c71 commit 3abe821
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions classic/Dockerfile.autogpt
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ ENTRYPOINT ["poetry", "run", "autogpt"]
CMD []

# dev build -> include everything
FROM autogpt-base as autogpt-dev
FROM autogpt-base AS autogpt-dev
RUN poetry install --no-cache --no-root \
&& rm -rf $(poetry env info --path)/src
ONBUILD COPY original_autogpt/ ./

# release build -> include bare minimum
FROM autogpt-base as autogpt-release
FROM autogpt-base AS autogpt-release
RUN poetry install --no-cache --no-root --without dev \
&& rm -rf $(poetry env info --path)/src
ONBUILD COPY original_autogpt/ ./autogpt
Expand Down

0 comments on commit 3abe821

Please sign in to comment.