Skip to content

Commit

Permalink
build: Stop using base image
Browse files Browse the repository at this point in the history
  • Loading branch information
meltyshev committed Dec 1, 2023
1 parent eddeb96 commit f1fed3e
Show file tree
Hide file tree
Showing 3 changed files with 664 additions and 549 deletions.
12 changes: 9 additions & 3 deletions Dockerfile
@@ -1,4 +1,8 @@
FROM ghcr.io/plankanban/planka:base-latest as server-dependencies
FROM node:18-alpine as server-dependencies

RUN apk -U upgrade \
&& apk add build-base python3 \
--no-cache

WORKDIR /app

Expand All @@ -23,9 +27,11 @@ RUN npm install npm@latest --global \
COPY client .
RUN DISABLE_ESLINT_PLUGIN=true npm run build

FROM ghcr.io/plankanban/planka:base-latest
FROM node:18-alpine

RUN apk del vips-dependencies --purge
RUN apk -U upgrade \
&& apk add bash \
--no-cache

USER node
WORKDIR /app
Expand Down

0 comments on commit f1fed3e

Please sign in to comment.