forked from platypush/platypush
Fixed Dockerfile
This commit is contained in:
parent
1586484e84
commit
9788c642f9
1 changed files with 2 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue