open-redirect/api/dockerfile
edraft 8df4afbf0e
All checks were successful
Build on push / build-api (push) Successful in 7s
Build on push / build-web (push) Successful in 58s
Fix build
2025-01-04 14:12:37 +01:00

16 lines
283 B
Plaintext

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