-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
a741432
commit 90673da
Showing
7 changed files
with
191 additions
and
147 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,15 +1,26 @@ | ||
FROM python:3.11-slim-bullseye | ||
# FROM python:3.11-slim-bullseye | ||
|
||
RUN apt update | ||
RUN apt install -y pkg-config default-libmysqlclient-dev build-essential | ||
# RUN apt update | ||
# RUN apt install -y pkg-config default-libmysqlclient-dev build-essential | ||
|
||
WORKDIR /src/filman_crawler | ||
# WORKDIR /src/filman_crawler | ||
|
||
COPY requirements.txt requirements.txt | ||
RUN pip3 install -r requirements.txt | ||
# COPY requirements.txt requirements.txt | ||
# RUN pip3 install -r requirements.txt | ||
|
||
# COPY /src/filman_crawler . | ||
|
||
COPY /src/filman_crawler . | ||
# ENV PYTHONPATH=/src | ||
|
||
ENV PYTHONPATH=/src | ||
# CMD [ "python3", "-m", "filman_crawler.main"] | ||
|
||
CMD [ "python3", "-m", "filman_crawler.main"] | ||
FROM python:3.11-slim-bullseye | ||
RUN apt update | ||
RUN apt install -y pkg-config default-libmysqlclient-dev build-essential | ||
WORKDIR /src | ||
COPY requirements.txt requirements.txt | ||
RUN pip3 install -r requirements.txt | ||
COPY /src/filman_server /src/filman_server | ||
COPY /src/filman_crawler /src/filman_crawler | ||
ENV PYTHONPATH=/src/filman_server:/src/filman_crawler | ||
CMD [ "python3", "-m", "filman_crawler.main" ] |
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
Oops, something went wrong.