Some fixes
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2020-02-14 10:45:23 +01:00
parent 264270213e
commit 5553fdb38c
2 changed files with 3 additions and 1 deletions

View File

@ -10,6 +10,7 @@ COPY main.cpp /app/main.cpp
WORKDIR /app
RUN g++ -o main main.cpp
# run stage
FROM ubuntu:18.04 AS run
ENV DEBIAN_FRONTEND=noninteractive TZ=Europe/Berlin
@ -19,6 +20,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
COPY --from=build /app/main /app/main
COPY run.sh /app/run.sh
RUN chmod +x /app/run.sh
CMD ["/app/run.sh"]