-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
46 additions
and
67 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,17 @@ | ||
FROM python:3.8.4-buster | ||
FROM python:3.10.8-slim-bullseye | ||
|
||
ENV LC_ALL C.UTF-8 | ||
ENV LANG C.UTF-8 | ||
|
||
WORKDIR /docs-scraper | ||
|
||
RUN apt-get update -y \ | ||
&& apt-get install -y python3-pip libnss3 \ | ||
&& apt-get install -y chromium-driver | ||
RUN apt-get update -y && apt-get install -y python3-pip libnss3 chromium-driver | ||
|
||
RUN pip3 install pipenv | ||
|
||
|
||
COPY Pipfile Pipfile | ||
COPY Pipfile.lock Pipfile.lock | ||
|
||
RUN pipenv --python 3.8 install | ||
COPY Pipfile.lock Pipfile.lock | ||
|
||
RUN pipenv install | ||
|
||
COPY . . | ||
COPY . . |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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