chore: package
This commit is contained in:
24
Dockerfile
Normal file
24
Dockerfile
Normal 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
|
Reference in New Issue
Block a user