open-redirect/api/dockerfile

16 lines
283 B
Plaintext
Raw Normal View History

2024-12-13 23:27:18 +01:00
# syntax=docker/dockerfile:1
2025-01-04 14:09:17 +01:00
FROM python:3.12.8-alpine
2024-12-13 23:27:18 +01:00
WORKDIR /app
COPY ./src/ .
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/open-redirect"]