aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2018-12-10 08:14:00 -0800
committerChristine Dodrill <me@christine.website>2018-12-10 08:16:53 -0800
commit8ff1e285d8bf208fdf2653b42856b4356b853949 (patch)
tree48bc07a566539806992749ac4089c2d3f2f3dfe4 /Dockerfile
parentcbfa82218c60a4a1c52f4d217f6f053de8fcad4e (diff)
downloadxesite-8ff1e285d8bf208fdf2653b42856b4356b853949.tar.xz
xesite-8ff1e285d8bf208fdf2653b42856b4356b853949.zip
cmd/site: ignore url params
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Dockerfile b/Dockerfile
index 2c6ee52..307276b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -7,13 +7,12 @@ RUN CGO_ENABLED=0 GOBIN=/root go install -v ./cmd/site
FROM xena/alpine
EXPOSE 5000
RUN apk add --no-cache bash
-COPY --from=build /root/site /site/site
+WORKDIR /site
+COPY --from=build /root/site .
COPY ./static /site/static
COPY ./templates /site/templates
COPY ./blog /site/blog
COPY ./css /site/css
-COPY ./run.sh /site/run.sh
COPY ./app /app
-
HEALTHCHECK CMD wget --spider http://127.0.0.1:5000 || exit 1
-CMD /site/run.sh
+CMD ./site