-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: move docker folder to under /examples
edit Dockerfile delete DEBIAN_FRONTEND argument edit install.sh System environment $REQUIRENMENTS_FILE_PATH was added When the user sets $REQUIRENMENTS_FILE_PATH, the container tries to install it as a pip requirements file
- Loading branch information
Showing
7 changed files
with
7 additions
and
6 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,17 +1,14 @@ | ||
FROM python:3.8.4-slim | ||
ENV PYTHONIOENCODING UTF-8 | ||
ARG DEBIAN_FRONTEND=noninteractive | ||
|
||
COPY ./config /config | ||
|
||
ENV CONFIG_FILE_PATH=/config/config.py | ||
ENV WORK_DIR=/work | ||
WORKDIR /work | ||
|
||
COPY config /config | ||
RUN chmod 777 /config/install.sh /config/start.sh /config/config.sh &&\ | ||
pip3 install -r /config/async-requirements.txt &&\ | ||
pip3 install -r /config/sync-requirements.txt &&\ | ||
/config/install.sh | ||
|
||
WORKDIR /work | ||
ENTRYPOINT /config/start.sh | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.