This commit is contained in:
2023-04-18 05:17:08 +02:00
parent 5221f1b826
commit 4f3d8f9ace
4 changed files with 7 additions and 23 deletions
+1 -6
View File
@@ -1,13 +1,12 @@
# FROM alpine:3.14
FROM python:3-alpine
#RUN apk add --no-cache bash build-base uwsgi python3-dev
RUN apk add --no-cache --upgrade bash
RUN mkdir -p /www
WORKDIR /www
COPY . .
RUN cp settings.ini.example settings.ini
RUN chmod +x start.sh
RUN set -e; \
apk add --no-cache --virtual .build-deps \
@@ -18,9 +17,5 @@ RUN set -e; \
pip install -r requirements.txt; \
apk del .build-deps;
#ENV LDAP_ADMIN_PASSWORD="admin"
#ENV LDAP_READONLY_PASSWORD="readonly"
EXPOSE 80 8080
#CMD ["./start.sh"]
ENTRYPOINT ["./start.sh"]