From 4ac8c6b8520075086d2cf6812990691b43ed3785 Mon Sep 17 00:00:00 2001 From: Matthew Alan Gray Date: Mon, 13 Jun 2022 11:59:53 -0500 Subject: [PATCH] Resolving issue #331 --- Hands-on lab/lab-files/developer/content-api/Dockerfile | 4 ++-- .../lab-files/developer/content-api/package-lock.json | 1 + Hands-on lab/lab-files/developer/content-init/Dockerfile | 4 ++-- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Hands-on lab/lab-files/developer/content-api/Dockerfile b/Hands-on lab/lab-files/developer/content-api/Dockerfile index 8adc6eb..a870586 100644 --- a/Hands-on lab/lab-files/developer/content-api/Dockerfile +++ b/Hands-on lab/lab-files/developer/content-api/Dockerfile @@ -1,9 +1,9 @@ -FROM node:16.5.0-alpine AS base +FROM node:18.3-alpine AS base RUN apk -U add curl WORKDIR /usr/src/app EXPOSE 3001 -FROM node:argon AS build +FROM node:18.3-alpine AS build WORKDIR /usr/src/app # Install app dependencies diff --git a/Hands-on lab/lab-files/developer/content-api/package-lock.json b/Hands-on lab/lab-files/developer/content-api/package-lock.json index 6ea4aa2..ccfc556 100755 --- a/Hands-on lab/lab-files/developer/content-api/package-lock.json +++ b/Hands-on lab/lab-files/developer/content-api/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "content-api", "version": "0.0.0", "dependencies": { "body-parser": "^1.19.0", diff --git a/Hands-on lab/lab-files/developer/content-init/Dockerfile b/Hands-on lab/lab-files/developer/content-init/Dockerfile index 5e4f285..62a7f3c 100755 --- a/Hands-on lab/lab-files/developer/content-init/Dockerfile +++ b/Hands-on lab/lab-files/developer/content-init/Dockerfile @@ -1,7 +1,7 @@ -FROM node:16.5.0-alpine AS base +FROM node:18.3-alpine AS base WORKDIR /usr/src/app -FROM node:argon AS build +FROM node:18.3-alpine AS build WORKDIR /usr/src/app # Install app dependencies