mirror of
https://github.com/alerta/alerta.git
synced 2025-02-04 13:48:32 +00:00
19 lines
307 B
Docker
19 lines
307 B
Docker
FROM python:3.8-alpine
|
|
|
|
RUN apk add --no-cache \
|
|
build-base \
|
|
libffi-dev \
|
|
openssl-dev \
|
|
postgresql-dev \
|
|
python3-dev
|
|
|
|
COPY . /app
|
|
WORKDIR /app
|
|
|
|
RUN pip install -r requirements.txt
|
|
RUN pip install .
|
|
|
|
EXPOSE 8080
|
|
|
|
ENTRYPOINT ["alertad"]
|
|
CMD ["run", "--host", "0.0.0.0", "--port", "8080"]
|