2024-05-01 16:09:41 +02:00
|
|
|
FROM ubuntu:24.04
|
2020-08-18 18:27:16 +02:00
|
|
|
|
|
|
|
|
# author: Ole Schuett
|
|
|
|
|
|
2020-08-28 14:19:49 +02:00
|
|
|
WORKDIR /opt/cp2k-precommit
|
2025-11-05 14:26:21 +01:00
|
|
|
COPY install_requirements.sh requirements.txt ./
|
2022-03-11 15:05:55 +01:00
|
|
|
RUN ./install_requirements.sh
|
2025-03-01 11:14:49 +01:00
|
|
|
ENV PATH="/opt/venv/bin:/opt/cp2k-precommit:$PATH"
|
2020-08-18 18:27:16 +02:00
|
|
|
|
|
|
|
|
ARG REVISION
|
|
|
|
|
ENV REVISION=${REVISION}
|
|
|
|
|
|
2025-11-05 14:26:21 +01:00
|
|
|
COPY . ./
|
2022-03-11 15:05:55 +01:00
|
|
|
CMD ["gunicorn", "--bind=:8080", "--workers=1", "--threads=8", "--timeout=0", "precommit_server:app"]
|
2020-08-18 18:27:16 +02:00
|
|
|
|
|
|
|
|
#EOF
|