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
2024-10-22 20:34:07 +02:00

13 lines
No EOL
284 B
Text

FROM ubuntu:20.04
ENV APPLICATION_BINARY="Application"
ENV OPEN_PORT=8080
COPY ${APPLICATION_BINARY} .
RUN apt-get update && \
apt-get install -y --no-install-recommends libboost-all-dev \
&& rm -rf /var/lib/apt/lists/*
EXPOSE ${OPEN_PORT}
CMD [ "/${APPLICATION_BINARY}" ]