Update Dockerfile-dev to include uwsgi

This commit is contained in:
Hemna 2023-07-24 00:13:28 +00:00
parent 8891cd3002
commit 1ab9c3fee4
2 changed files with 2 additions and 4 deletions

View File

@ -21,7 +21,7 @@ RUN set -ex \
&& apt-get update \
&& apt-get upgrade -y \
&& apt-get install -y git build-essential curl vim libffi-dev \
python3-dev libssl-dev libxml2-dev libxslt-dev \
python3-dev libssl-dev libxml2-dev libxslt-dev telnet sudo \
# Install dependencies
# Clean up
&& apt-get autoremove -y \
@ -34,7 +34,7 @@ WORKDIR /app
RUN git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd
RUN cd aprsd && pip install --no-cache-dir .
RUN pip install gunicorn
RUN pip install gevent uwsgi
RUN which aprsd
RUN mkdir /config
RUN chown -R appuser:appgroup /app

View File

@ -13,8 +13,6 @@ if [ ! -z "${APRSD_PLUGINS}" ]; then
done
fi
pip3 install gevent uwsgi
if [ -z "${LOG_LEVEL}" ] || [[ ! "${LOG_LEVEL}" =~ ^(CRITICAL|ERROR|WARNING|INFO)$ ]]; then
LOG_LEVEL="DEBUG"
fi