fix dockerfile

now we have also some sub-directories, COPY . . is more future-proof
at this point.
This commit is contained in:
Omar Polo 2021-01-21 13:49:52 +00:00
parent 86939cb45b
commit fb2c20c301
1 changed files with 2 additions and 2 deletions

View File

@ -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