Use debian slim image rather than alpine image

This commit is contained in:
sid palas
2023-03-10 15:08:38 -05:00
parent c9dd10c74f
commit 9d956b90c4
9 changed files with 18 additions and 18 deletions

View File

@ -1,6 +1,6 @@
# Pin specific version # Pin specific version
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
COPY . . COPY . .

View File

@ -1,6 +1,6 @@
# Pin specific version # Pin specific version
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Specify working directory other than / # Specify working directory other than /
WORKDIR /usr/src/app WORKDIR /usr/src/app

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Specify working directory other than / # Specify working directory other than /
WORKDIR /usr/src/app WORKDIR /usr/src/app

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Specify working directory other than / # Specify working directory other than /
WORKDIR /usr/src/app WORKDIR /usr/src/app

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Set NODE_ENV # Set NODE_ENV
ENV NODE_ENV production ENV NODE_ENV production

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Set NODE_ENV # Set NODE_ENV
ENV NODE_ENV production ENV NODE_ENV production

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Set NODE_ENV # Set NODE_ENV
ENV NODE_ENV production ENV NODE_ENV production

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine FROM node:19.6-bullseye-slim
# Set NODE_ENV # Set NODE_ENV
ENV NODE_ENV production ENV NODE_ENV production

View File

@ -1,6 +1,6 @@
# Pin specific version for stability # Pin specific version for stability
# Use alpine for reduced image size # Use slim for reduced image size
FROM node:19.6-alpine AS base FROM node:19.6-bullseye-slim AS base
# Specify working directory other than / # Specify working directory other than /
WORKDIR /usr/src/app WORKDIR /usr/src/app