dockerfile-fix4
This commit is contained in:
parent
42a5a6f9dd
commit
446b15d012
|
@ -17,12 +17,12 @@ FROM python:slim
|
|||
WORKDIR /app
|
||||
|
||||
# Copy only necessary files from the builder stage
|
||||
# COPY --from=builder /usr/local/lib/python/dist-packages /usr/local/lib/python/dist-packages
|
||||
# COPY --from=builder /usr/local/lib/python3/dist-packages /usr/local/lib/python3/dist-packages
|
||||
COPY --from=builder /usr/local/lib/python3.*/dist-packages /usr/local/lib/python3.*/dist-packages
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install redis[hiredis]
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD ["python", "main.py"]
|
Loading…
Reference in New Issue
Block a user