1
0

chore: package

This commit is contained in:
2025-07-05 01:34:59 +02:00
parent 8e324b2a1f
commit 9e411cee54
16 changed files with 424 additions and 4 deletions

24
Dockerfile Normal file
View File

@@ -0,0 +1,24 @@
FROM python:3.13-alpine
RUN apk add --no-cache s6 bash wget unzip
COPY requirements.txt .
RUN python -m pip install --no-cache-dir -r requirements.txt
COPY ./s6 /etc/s6
WORKDIR /app
COPY scripts scripts
COPY src src
COPY sqlpage sqlpage
COPY webroot webroot
RUN wget -q https://github.com/sqlpage/SQLPage/releases/download/v0.35.2/sqlpage-aws-lambda.zip \
&& unzip sqlpage-aws-lambda.zip bootstrap \
&& rm sqlpage-aws-lambda.zip
ENTRYPOINT [ "/usr/bin/s6-svscan", "/etc/s6" ]
EXPOSE 8080