open-redirect/api/dockerfile
edraft 39f468cc8a
Some checks failed
Build dev on push / build-api (push) Successful in 54s
Build dev on push / build-web (push) Successful in 1m14s
Build dev on push / build-redirector (push) Failing after 6s
Update docker stuff
2025-01-09 20:08:13 +01:00

22 lines
361 B
Plaintext

# syntax=docker/dockerfile:1
FROM python:3.12.8-alpine
WORKDIR /app
COPY ./src/ .
RUN rm redirector
RUN rm redirector.py
RUN rm -r static
RUN rm -r templates
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"]