From: Dessalines Date: Fri, 3 Sep 2021 12:23:55 +0000 (-0400) Subject: Using newer alpine image (#392) X-Git-Url: http://these/git/readmes/%7Bthis.imageSrc.unwrap%28%29%7D?a=commitdiff_plain;h=90aede3c2e316b45963654146f656aa8ba109114;p=lemmy-ui.git Using newer alpine image (#392) --- diff --git a/Dockerfile b/Dockerfile index a56a391..a7f323b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM node:14-alpine as builder +FROM node:alpine as builder RUN apk update && apk add yarn python3 build-base gcc wget git --no-cache WORKDIR /usr/src/app @@ -24,7 +24,7 @@ RUN echo "export const VERSION = '$(git describe --tag)';" > "src/shared/version RUN yarn RUN yarn build:prod -FROM node:14-alpine as runner +FROM node:alpine as runner COPY --from=builder /usr/src/app/dist /app/dist COPY --from=builder /usr/src/app/node_modules /app/node_modules