Update Dockerfile.exporter
Change to alpine to reduce overhead
This commit is contained in:
parent
5346333087
commit
bb1d3e066e
|
@ -1,7 +1,8 @@
|
|||
FROM python
|
||||
FROM python:alpine
|
||||
LABEL author="Gleb Tcivie"
|
||||
|
||||
WORKDIR /app
|
||||
RUN apk add --update --no-cache gcc libc-dev libffi-dev
|
||||
COPY ../../requirements.txt .
|
||||
COPY ../../.env .
|
||||
RUN pip3 install -r requirements.txt
|
||||
|
@ -9,4 +10,4 @@ RUN pip3 install -r requirements.txt
|
|||
COPY ../../exporter exporter
|
||||
COPY ../../main.py .
|
||||
COPY ../../constants.py .
|
||||
CMD ["python3", "-u", "main.py"]
|
||||
CMD ["python3", "-u", "main.py"]
|
||||
|
|
Loading…
Reference in a new issue