This repository has been archived on 2026-04-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
short-link-backend/dockerfile
Thomas Schleicher 338f2b562f I forgor &&
2024-10-22 20:43:49 +02:00

14 lines
No EOL
383 B
Text

FROM ubuntu:20.04
ENV APPLICATION_BINARY="Application"
ENV OPEN_PORT=8080
COPY ${APPLICATION_BINARY} .
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-all-dev && \
rm -rf /var/lib/apt/lists/*
EXPOSE ${OPEN_PORT}
CMD [ "/${APPLICATION_BINARY}" ]