Some checks failed
Test API before pr merge / test-lint (pull_request) Failing after 10s
Test before pr merge / test-translation-lint (pull_request) Successful in 39s
Test before pr merge / test-lint (pull_request) Successful in 42s
Test before pr merge / test-before-merge (pull_request) Successful in 1m56s
25 lines
450 B
Plaintext
25 lines
450 B
Plaintext
# syntax=docker/dockerfile:1
|
|
FROM python:3.12.8-alpine
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./src/api/middleware ./api/middleware
|
|
COPY ./src/core/ ./core
|
|
|
|
COPY ./src/static/ ./static
|
|
COPY ./src/templates/ ./templates
|
|
|
|
COPY ./src/redirector.py .
|
|
COPY ./src/redirector .
|
|
|
|
COPY ./requirements.txt .
|
|
|
|
RUN python -m pip install --upgrade pip
|
|
RUN python -m pip install -r requirements.txt
|
|
|
|
RUN apk update
|
|
RUN apk add bash
|
|
RUN apk add nano
|
|
|
|
CMD [ "bash", "/app/redirector"]
|