mirror of
https://github.com/craigerl/aprsd.git
synced 2025-05-24 18:42:26 -04:00
Update Dockerfile-dev to include uwsgi
This commit is contained in:
parent
8891cd3002
commit
1ab9c3fee4
@ -21,7 +21,7 @@ RUN set -ex \
|
|||||||
&& apt-get update \
|
&& apt-get update \
|
||||||
&& apt-get upgrade -y \
|
&& apt-get upgrade -y \
|
||||||
&& apt-get install -y git build-essential curl vim libffi-dev \
|
&& 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
|
# Install dependencies
|
||||||
# Clean up
|
# Clean up
|
||||||
&& apt-get autoremove -y \
|
&& apt-get autoremove -y \
|
||||||
@ -34,7 +34,7 @@ WORKDIR /app
|
|||||||
|
|
||||||
RUN git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd
|
RUN git clone -b $APRSD_BRANCH https://github.com/craigerl/aprsd
|
||||||
RUN cd aprsd && pip install --no-cache-dir .
|
RUN cd aprsd && pip install --no-cache-dir .
|
||||||
RUN pip install gunicorn
|
RUN pip install gevent uwsgi
|
||||||
RUN which aprsd
|
RUN which aprsd
|
||||||
RUN mkdir /config
|
RUN mkdir /config
|
||||||
RUN chown -R appuser:appgroup /app
|
RUN chown -R appuser:appgroup /app
|
||||||
|
@ -13,8 +13,6 @@ if [ ! -z "${APRSD_PLUGINS}" ]; then
|
|||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
pip3 install gevent uwsgi
|
|
||||||
|
|
||||||
if [ -z "${LOG_LEVEL}" ] || [[ ! "${LOG_LEVEL}" =~ ^(CRITICAL|ERROR|WARNING|INFO)$ ]]; then
|
if [ -z "${LOG_LEVEL}" ] || [[ ! "${LOG_LEVEL}" =~ ^(CRITICAL|ERROR|WARNING|INFO)$ ]]; then
|
||||||
LOG_LEVEL="DEBUG"
|
LOG_LEVEL="DEBUG"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user