Skip to content

Commit

Permalink
Dockerfile modernization and minor fix
Browse files Browse the repository at this point in the history
Version in docker-compose.yml is obsolote. Also FROM and as cases should match.
  • Loading branch information
yigit353 committed Sep 15, 2024
1 parent 19000cc commit f4c6d8c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.11.4-slim-bullseye as install-browser
FROM python:3.11.4-slim-bullseye AS install-browser

RUN apt-get update \
&& apt-get satisfy -y \
Expand All @@ -18,7 +18,7 @@ RUN apt-get update \
build-essential \
&& rm -rf /var/lib/apt/lists/*

FROM install-browser as gpt-researcher-install
FROM install-browser AS gpt-researcher-install

ENV PIP_ROOT_USER_ACTION=ignore

Expand Down
1 change: 0 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
version: '3'
services:
gpt-researcher:
pull_policy: build
Expand Down

0 comments on commit f4c6d8c

Please sign in to comment.