Optimize Dockerfile

pull/86/head
sudoii 2020-09-26 23:52:45 +08:00
parent a02f8ee7dd
commit 0f3945733d
1 changed files with 5 additions and 5 deletions

View File

@ -2,14 +2,14 @@ FROM debian:latest as builder
MAINTAINER cppla https://cpp.la MAINTAINER cppla https://cpp.la
RUN apt-get update RUN apt-get update && \
RUN apt-get -y install gcc g++ make git apt-get -y install gcc g++ make git && \
RUN git clone https://github.com/cppla/ServerStatus git clone https://github.com/cppla/ServerStatus
WORKDIR /ServerStatus/server WORKDIR /ServerStatus/server
RUN make RUN make && \
RUN pwd && ls -a pwd && ls -a
# glibc env run # glibc env run
FROM nginx:latest FROM nginx:latest