Fixed Dockerfile

This commit is contained in:
Fabio Manganiello 2023-07-24 11:04:17 +02:00
parent 1586484e84
commit 9788c642f9
Signed by: blacklight
GPG Key ID: D90FBA7F76362774
1 changed files with 2 additions and 4 deletions

View File

@ -2,17 +2,15 @@
# to generate your custom Dockerfile.
FROM python3.11:alpine
FROM python:3.11-alpine
RUN mkdir -p /install /app
COPY . /install
RUN cd /install
RUN apk add --update --no-cache redis
RUN apk add --update --no-cache --virtual build-base g++ rust
RUN pip install -U pip
RUN pip install .
RUN cd /install && pip install .
RUN apk del build-base g++ rust
RUN cd /app && python setup.py build install
EXPOSE 8008
VOLUME /app/config