ldap-python-webui/Dockerfile

22 lines
345 B
Docker
Raw Normal View History

2023-04-17 05:26:22 +02:00
# FROM alpine:3.14
FROM python:3-alpine
2023-04-18 05:17:08 +02:00
2023-04-17 05:26:22 +02:00
RUN apk add --no-cache --upgrade bash
RUN mkdir -p /www
WORKDIR /www
COPY . .
RUN chmod +x start.sh
RUN set -e; \
apk add --no-cache --virtual .build-deps \
gcc \
libc-dev \
linux-headers \
; \
pip install -r requirements.txt; \
apk del .build-deps;
EXPOSE 80 8080
ENTRYPOINT ["./start.sh"]