Add local PS5 guide DNS gateway
This commit is contained in:
+13
@@ -1,4 +1,15 @@
|
||||
ARG PYTHON_IMAGE=python:3.14-alpine
|
||||
FROM ${PYTHON_IMAGE} AS certificates
|
||||
|
||||
RUN apk add --no-cache openssl \
|
||||
&& install -d -m 0755 /certificates \
|
||||
&& openssl req -x509 -newkey rsa:2048 -sha256 -nodes -days 3650 \
|
||||
-subj "/CN=manuals.playstation.net" \
|
||||
-addext "subjectAltName=DNS:manuals.playstation.net" \
|
||||
-keyout /certificates/manuals.key \
|
||||
-out /certificates/manuals.crt \
|
||||
&& chmod 0600 /certificates/manuals.key
|
||||
|
||||
FROM ${PYTHON_IMAGE}
|
||||
|
||||
ENV PYTHONDONTWRITEBYTECODE=1 \
|
||||
@@ -13,6 +24,8 @@ COPY app/src /srv/public/src
|
||||
COPY app/offsets /srv/public/offsets
|
||||
COPY app/payloads /srv/public/payloads
|
||||
COPY docker/server.py /srv/server.py
|
||||
COPY docker/guide_gateway.py /srv/guide_gateway.py
|
||||
COPY --from=certificates /certificates /srv/certificates
|
||||
|
||||
RUN cd /srv/public && sha256sum -c /tmp/payloads.sha256 \
|
||||
&& rm /tmp/payloads.sha256 \
|
||||
|
||||
Reference in New Issue
Block a user