File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ FROM python:3.9.9-buster
2+
3+ RUN apt-get update \
4+ && apt-get install -y --no-install-recommends apt-utils libsasl2-dev libssl-dev \
5+ vim libldap2-dev python-dev libfuzzy-dev net-tools python3-psycopg2 git osslsigncode apache2-utils \
6+ && apt-get clean \
7+ && rm -rf /var/lib/apt/lists/*
8+
9+ RUN pip install --upgrade pip
10+
11+ WORKDIR /app
12+
13+ # copy the requirement files earlier
14+ COPY urNode-backend/requirements /app/requirements
15+ RUN pip install --no-cache-dir --compile -r requirements/run-requirements.txt
16+
17+ COPY urNode-backend/ /app
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ services:
3838 celery :
3939 build :
4040 context : ./
41- dockerfile : ./Dockerfile
41+ dockerfile : ./Dockerfile.celery
4242 container_name : celery_server
4343 command : celery -A Uturn worker --loglevel=info --without-gossip --without-mingle --without-heartbeat -Ofair --pool=solo
4444 volumes :
You can’t perform that action at this time.
0 commit comments