From f8ad76669571a36f75e5ec1e8a510ebdc46bba9f Mon Sep 17 00:00:00 2001 From: James Long Date: Tue, 3 May 2022 08:35:38 -0400 Subject: [PATCH] Revert "Rebase docker image on top of alpine linux" This reverts commit 42bc4c8acb1b86ff8071f069533af0a7d7c265c6. --- Dockerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 5252376..6b01f7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,18 +1,16 @@ -FROM alpine as base +FROM node:16-bullseye as base -RUN apk add --no-cache nodejs yarn openssl tini +RUN apt-get update && apt-get install -y openssl RUN mkdir /app WORKDIR /app ENV NODE_ENV=production ADD yarn.lock package.json ./ RUN yarn install --production -FROM alpine as prod +FROM node:16-bullseye-slim as prod -RUN apk add --no-cache nodejs yarn openssl tini +RUN apt-get update && apt-get install openssl && apt-get clean -y && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY --from=base /app /app ADD . . - -ENTRYPOINT ["/sbin/tini", "--"] CMD ["yarn", "start"]