pidgin/nest

02f1b78f21aa
Parents 957ad9b1500d
Children af7020d9a783
Support building under podman without any aliases

Testing Done:
Build and ran locally using convey with podman.

Reviewed at https://reviews.imfreedom.org/r/1195/
  • +4 -4
    Dockerfile
  • --- a/Dockerfile Mon Oct 18 21:04:20 2021 -0500
    +++ b/Dockerfile Tue Dec 21 03:38:31 2021 -0600
    @@ -2,7 +2,7 @@
    # setup up our node environment
    #####################################################################
    -FROM node:14-buster-slim as node-update-date
    +FROM docker.io/node:14-buster-slim as node-update-date
    WORKDIR /nest/
    COPY package-lock.json package.json ./
    RUN apt-get update && \
    @@ -19,7 +19,7 @@
    # run the hugo build
    #####################################################################
    -FROM debian:bullseye as hugo-build
    +FROM docker.io/debian:bullseye as hugo-build
    RUN set -ex && \
    apt-get update && \
    apt-get install -y hugo && \
    @@ -38,7 +38,7 @@
    # setup up our node environment
    #####################################################################
    -FROM node:14-buster-slim as node-build
    +FROM docker.io/node:14-buster-slim as node-build
    WORKDIR /nest/
    COPY package-lock.json package.json ./
    RUN npm ci --production && \
    @@ -51,7 +51,7 @@
    # finally package everything up with rwgrim/goserve
    #####################################################################
    -FROM rwgrim/goserve
    +FROM docker.io/rwgrim/goserve
    ENV GOSERVE_404_PAGE="/html/404.html"
    COPY --from=node-build /nest/public /html/
    EXPOSE 3000/tcp