Update flask-redis/Dockerfile

Co-authored-by: Guillaume Lours <guillaume@lours.me>
This commit is contained in:
Ajeet Singh Raina, Docker Captain, ARM Innovator, RedisInc 2022-03-15 16:47:17 +05:30 committed by GitHub
parent 60d352e4a7
commit cbd6bc6643
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,6 @@
FROM python:3.11.0a6-alpine3.15 FROM python:3.11.0a6-alpine3.15
ADD . /code
WORKDIR /code WORKDIR /code
RUN pip install -r requirements.txt COPY requirements.txt /code
RUN pip install -r requirements.txt --no-cache-dir
COPY . /code
CMD python app.py CMD python app.py