mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-24 22:11:04 +00:00
BUILD - Reduce size of image by using slim version of Debian
This commit is contained in:
parent
a7d745a218
commit
3bb1148cd2
@ -1,5 +1,5 @@
|
|||||||
# build
|
# build
|
||||||
FROM debian:latest as build
|
FROM debian:stable-slim as build
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
@ -17,7 +17,7 @@ COPY Makefile CMakeLists.txt version.h.in ./
|
|||||||
RUN make -j8
|
RUN make -j8
|
||||||
|
|
||||||
# prod
|
# prod
|
||||||
FROM debian:latest
|
FROM debian:stable-slim
|
||||||
|
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user