Fix docker build #17

This change should fix #17 after adding an empty `frontend/public/index.html`
pull/19/head
sp4ke 4 years ago committed by GitHub
parent 5fcfdf5afa
commit 10a24be11b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1,8 +1,8 @@
FROM alpine:3.11
FROM alpine:3.12
ENV URL=http://localhost:5000
ARG build_deps="go make dep"
ARG build_deps="go make dep git"
ARG runtime_deps="dumb-init"
ARG user_id=1000
@ -13,7 +13,7 @@ RUN apk update && \
adduser -D -H -h / -u $user_id tty-server && \
cd /go/src/github.com/elisescu/tty-server && \
GOPATH=/go dep ensure && \
GOPATH=/go make all && \
GOPATH=/go PATH=$GOPATH/bin:$PATH make all && \
cp tty-server /usr/bin/ && \
rm -r /go && \
apk del $build_deps

Loading…
Cancel
Save