2022-11-07 21:17:05 +00:00
|
|
|
# syntax=docker/dockerfile:1
|
|
|
|
|
|
|
|
# This Dockerfile builds a docker image containing all dependecies to run
|
|
|
|
# a development version of the lumi application.
|
|
|
|
|
|
|
|
FROM python:3
|
|
|
|
|
|
|
|
# Install dependencies
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt /app/
|
2022-12-01 01:28:44 +00:00
|
|
|
COPY lumi2 /app/lumi2/
|
|
|
|
COPY tests /app/tests/
|
|
|
|
COPY pytest.ini /app/
|
2022-11-07 21:17:05 +00:00
|
|
|
RUN pip install -r requirements.txt
|
2022-12-01 01:28:44 +00:00
|
|
|
ENTRYPOINT ["waitress-serve", "--listen=0.0.0.0:80", "--no-ipv6", "--call", "lumi2:create_app"]
|