slim down image size

This commit is contained in:
Thomas Schleicher 2024-10-22 21:58:13 +02:00
parent c5f1b127e9
commit bdfb4edd8e
2 changed files with 9 additions and 4 deletions

View file

@ -10,5 +10,10 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libboost-all-dev && \
rm -rf /var/lib/apt/lists/*
RUN apt-get update && \
ln -fs /usr/share/zoneinfo/America/New_York /etc/localtime && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends libboost-filesystem1.74-dev libboost-system1.74-dev && \
rm -rf /var/lib/apt/lists/*
EXPOSE ${OPEN_PORT}
CMD [ "/${APPLICATION_BINARY}" ]