open-redirect/api/dockerfile_redirector
edraft 3873bfda10
Some checks failed
Build dev on push / build-redirector (push) Failing after 6s
Build dev on push / build-api (push) Successful in 7s
Build dev on push / build-web (push) Has been cancelled
Should fix redirector build
2025-01-09 20:11:43 +01:00

21 lines
357 B
Plaintext

# syntax=docker/dockerfile:1
FROM python:3.12.8-alpine
WORKDIR /app
COPY ./src/core/ .
COPY ./src/data/ .
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"]