Public Repository

Last pushed: 4 months ago
Short Description
Hellonode - Sample application Node.js that displays the container ID.
Full Description
  • Sample application Node.js that displays the container ID.
  • This image will be used at Swarm mode for purpose to visualize the native internal load balancer working.
  • The dumb-init script is for shutdown (CTRL+C) container purposes.

=================================================================================

FROM alpine:edge

LABEL maintainer "allysson vieira"

WORKDIR /app

COPY . /app

RUN set -ex; apk update --no-cache && apk add --no-cache yarn && \
mv dumb-init_1.2.0_amd64 /usr/local/bin/dumb-init && \
chmod +x /usr/local/bin/dumb-init && \
yarn install

EXPOSE 3000

CMD ["/usr/local/bin/dumb-init", "/usr/bin/yarn", "run", "start"]

Docker Pull Command
Owner
allysson

Comments (0)