mirror of https://github.com/omar-polo/gmid.git
fix dockerfile
now we have also some sub-directories, COPY . . is more future-proof at this point.
This commit is contained in:
parent
86939cb45b
commit
fb2c20c301
|
@ -1,8 +1,8 @@
|
|||
FROM alpine as builder
|
||||
WORKDIR /build
|
||||
RUN apk update && apk upgrade && apk add alpine-sdk linux-headers libressl-dev flex bison
|
||||
COPY *.c *.h lex.l parse.y Makefile ./
|
||||
RUN make gmid
|
||||
COPY . .
|
||||
RUN make clean gmid
|
||||
|
||||
FROM alpine
|
||||
RUN apk update && apk upgrade && apk add libressl
|
||||
|
|
Loading…
Reference in New Issue