Docker config
This commit is contained in:
@ -18,6 +18,8 @@ RUN python -m venv /venv
|
||||
ENV \
|
||||
PYTHONDONTWRITEBYTECODE=1 \
|
||||
PYTHONUNBUFFERED=1 \
|
||||
FAIRHOPPER_API_PORT=${INTERNAL_API_PORT} \
|
||||
FAIRHOPPER_WS_PORT=${INTERNAL_WS_PORT} \
|
||||
PATH="/venv/bin:$PATH"
|
||||
|
||||
RUN \
|
||||
@ -26,7 +28,8 @@ RUN \
|
||||
# install python libs
|
||||
pip install -r requirements.txt --no-cache-dir --prefer-binary
|
||||
|
||||
COPY ./.docker/run.sh .
|
||||
COPY ./hopper ./service
|
||||
COPY ./.docker/* ./
|
||||
COPY ./hopper ./hopper
|
||||
COPY ./main.py .
|
||||
|
||||
ENTRYPOINT [ "/app/run.sh" ]
|
||||
|
||||
Reference in New Issue
Block a user