Skip to content
This repository has been archived by the owner on Dec 6, 2023. It is now read-only.

Commit

Permalink
perf: small improvement to dockerfile building and switching maintainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Falx authored and joachimvh committed Jun 30, 2022
1 parent 0159557 commit dacd6d0
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
# Build stage
FROM node:lts AS build
FROM node:lts-alpine AS build

## Set current working directory
WORKDIR /community-server

## Copy the package.json for audit
COPY package*.json ./

## Copy the dockerfile's context's community server files
COPY . .

Expand All @@ -15,12 +12,11 @@ RUN npm ci --unsafe-perm && npm run build




# Runtime stage
FROM node:lts-alpine

## Add contact informations for questions about the container
LABEL maintainer="Solid Community Server Docker Image Maintainer <[email protected]>"
LABEL maintainer="Solid Community Server Docker Image Maintainer <[email protected]>"

## Container config & data dir for volume sharing
## Defaults to filestorage with /data directory (passed through CMD below)
Expand Down

0 comments on commit dacd6d0

Please sign in to comment.