almost ready
This commit is contained in:
@@ -18,13 +18,20 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
WORKDIR /app
|
||||
COPY worker/requirements.txt ./
|
||||
RUN pip install --no-cache-dir -r requirements.txt
|
||||
COPY worker/worker.py worker/entrypoint.sh ./
|
||||
# blworker/ is the shared package both market scripts import; ship it + the two thin
|
||||
# market scripts + the entrypoint.
|
||||
COPY worker/blworker ./blworker
|
||||
COPY worker/csmoney_worker.py worker/skinland_worker.py worker/entrypoint.sh ./
|
||||
RUN chmod +x entrypoint.sh
|
||||
|
||||
# Which worker this image runs (overridden per service in docker-compose). The cs.money
|
||||
# worker is the default; the skin.land service sets WORKER_SCRIPT=skinland_worker.py.
|
||||
ENV BROWSER_PATH=/usr/bin/chromium \
|
||||
CHROME_NO_SANDBOX=1 \
|
||||
DISPLAY=:99 \
|
||||
SOLVE_SECONDS=45 \
|
||||
WORKER_SCRIPT=csmoney_worker.py \
|
||||
LOG_JSON=1 \
|
||||
PYTHONUNBUFFERED=1
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user