Fixed Dockerfile

This commit is contained in:
Fabio Manganiello 2023-07-24 11:04:17 +02:00
parent 1586484e84
commit 9788c642f9
Signed by untrusted user: blacklight
GPG key ID: D90FBA7F76362774

View file

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