open-redirect/api/dockerfile
2024-12-13 23:27:37 +01:00

16 lines
283 B
Plaintext

# syntax=docker/dockerfile:1
FROM python:3.12.7-alpine
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"]