Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore path of WSGI-file #1428

Merged
merged 1 commit into from
Jan 22, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile.www
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@

FROM ubuntu:noble

MAINTAINER Lukas Garberg <[email protected]>

Check failure on line 28 in Dockerfile.www

View workflow job for this annotation

GitHub Actions / docker

DL4000 info: MAINTAINER is deprecated

ENV DEBIAN_FRONTEND=noninteractive

ENV NIPAPD_HOST=nipapd NIPAPD_PORT=1337 WWW_USERNAME=guest WWW_PASSWORD=guest

# apt update, upgrade & install packages
RUN apt-get update -qy && apt-get upgrade -qy \

Check failure on line 35 in Dockerfile.www

View workflow job for this annotation

GitHub Actions / docker

DL3008 info: Pin versions in apt get install. Instead of `apt-get install <package>` use `apt-get install <package>=<version>`
&& apt-get install --no-install-recommends -qy apache2 \
build-essential \
libapache2-mod-wsgi-py3 \
Expand Down Expand Up @@ -63,10 +63,10 @@
COPY pynipap /pynipap
COPY nipap /nipap
COPY nipap-www /nipap-www
RUN cd /pynipap && pip3 --no-input install --break-system-packages --no-cache-dir . && \

Check failure on line 66 in Dockerfile.www

View workflow job for this annotation

GitHub Actions / docker

DL3003 info: Use WORKDIR to switch to a directory
cd /nipap && pip3 --no-input install --break-system-packages --no-cache-dir . && \
cd /nipap-www && pip3 --no-input install --break-system-packages --no-cache-dir . && \
mkdir -p /etc/nipap/ && cp nipap-www.wsgi /etc/nipap/ && \
mkdir -p /etc/nipap/www/ && cp nipap-www.wsgi /etc/nipap/www/ && \
cd ..

EXPOSE 80
Expand Down
2 changes: 1 addition & 1 deletion nipap-www/debian/install
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nipap-www.wsgi etc/nipap
nipap-www.wsgi etc/nipap/www
Loading