diff options
author | Michael McVady <femtonaut@gmail.com> | 2022-05-24 16:21:07 -0500 |
---|---|---|
committer | Michael McVady <femtonaut@gmail.com> | 2022-05-24 16:21:07 -0500 |
commit | ed95042928c8c5d1117ef99eace2af404c2cc29c (patch) | |
tree | a9282fd8e12c3ca5dd64a11b5d9022fc93b88cb0 /Dockerfile | |
parent | bf4de57fec1367550160eb9292cafc36960e9b5f (diff) |
Clean up Docker build-stage
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 13 |
1 files changed, 4 insertions, 9 deletions
@@ -1,6 +1,4 @@ -FROM debian:bullseye-slim - -LABEL maintainer="Michael McVady <femtonaut@gmail.com>" +FROM debian:bullseye-slim AS build-stage COPY . /tmp/clog @@ -35,17 +33,14 @@ RUN set -e \ && adduser --disabled-password --uid 502 --home /var/chroot/clog --shell /sbin/nologin --ingroup clog clog \ && apt-get update -qq \ && apt-get install -y \ - curl \ - pkg-config \ libssl-dev \ libpq-dev -WORKDIR /var/chroot/clog - -COPY --from=0 /tmp/clog/assets /var/chroot/clog/assets/. -COPY --from=0 /tmp/clog/clog /var/chroot/clog/. +COPY --from=build-stage /tmp/clog/assets /var/chroot/clog/assets/. +COPY --from=build-stage /tmp/clog/clog /var/chroot/clog/. EXPOSE 8888 STOPSIGNAL SIGQUIT +WORKDIR /var/chroot/clog ENTRYPOINT [ "./clog", "-f"] |