aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Dockerfile b/Dockerfile
index af40413..edabcb2 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -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