dockerfile
created : Thu, 04 Aug 2022 13:57:13 +0900
modified : Thu, 04 Aug 2022 14:09:17 +0900
FROM ubuntu:20.04
MAINTAINER Min Uk Lee <minuk.dev@gmail.com>
LABEL lmu-version="v0.1.0"
VOLUME ["/home/lmu/tools/volume-for-docker/base"]
# Build time
ARG BASE_URL 0.0.0.0
# Runtime
ENV PREFIX /api
COPY app.py /app.py
RUN \
apt-get update && \
apt-get install -y python3
RUN useradd lmu
USER lmu
EXPOSE 80
WORKDIR /root/
ENTRYPOINT ["sleep", "4800"]
CMD ["echo", "$PREFIX"]