Add new file

This commit is contained in:
pengtao 2022-03-04 16:07:48 +08:00
parent 4f35cc111b
commit 401a8af7b9

23
Dockerfile Normal file
View File

@ -0,0 +1,23 @@
# Download base image ubuntu 20.04
FROM k_ub20:v2
# LABEL about the custom image
LABEL maintainer="pengtao@kingsome.cn"
LABEL version="0.1"
LABEL description="This is custom Docker Image for \
the C++ Services."
# Disable Prompt During Packages Installation
ARG DEBIAN_FRONTEND=noninteractive
# Define the ENV variable
#ENV nginx_vhost /etc/nginx/sites-available/default
RUN mkdir -p /app
# Copy start.sh script and define default command for the container
COPY . /app
WORKDIR /app
RUN chmod -R 755 /app
RUN ln -s /usr/bin/x86_64-linux-gnu-g++-9 /usr/bin/g++
RUN /usr/bin/bash /app/boundle.sh
CMD ["bash"]
#CMD ["/app/boundle.sh"]