You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
376 B
19 lines
376 B
FROM alpine:3.15
|
|
|
|
RUN apk --update add redis
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
RUN apk add --update --no-cache python3 && ln -sf python3 /usr/bin/python
|
|
RUN python3 -m ensurepip
|
|
RUN pip3 install --no-cache --upgrade pip setuptools
|
|
|
|
ADD . /var/www/plugin-server
|
|
|
|
WORKDIR /var/www/plugin-server/
|
|
|
|
RUN pip install -r requirements.txt
|
|
|
|
RUN ln -s /var/www/plugins ./plugins
|
|
|
|
CMD sh start.sh |