Skip to content

Commit 53ee567

Browse files
committed
Fix css, oci label and update npm packages
1 parent ec9d949 commit 53ee567

File tree

4 files changed

+22
-657
lines changed

4 files changed

+22
-657
lines changed

Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
FROM node:8.1.0-alpine
1+
FROM node:13.6.0-alpine
22

33
ARG IMAGE_CREATE_DATE
44
ARG IMAGE_VERSION
55
ARG IMAGE_SOURCE_REVISION
66

77
# Metadata as defined in OCI image spec annotations - https://github.com/opencontainers/image-spec/blob/master/annotations.md
88
LABEL org.opencontainers.image.title="Hello Kubernetes!" \
9-
org.opencontainers.image.description="Provides a demo image to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it's deployed to." \
9+
org.opencontainers.image.description="Provides a demo image to deploy to a Kubernetes cluster. It displays a message, the name of the pod and details of the node it is deployed to." \
1010
org.opencontainers.image.created=$IMAGE_CREATE_DATE \
1111
org.opencontainers.image.version=$IMAGE_VERSION \
1212
org.opencontainers.image.authors="Paul Bouwer" \
@@ -28,4 +28,5 @@ RUN npm install
2828
# Bundle app source
2929
COPY . /usr/src/app
3030

31+
USER node
3132
CMD [ "npm", "start" ]

0 commit comments

Comments
 (0)