Skip to content
This repository has been archived by the owner on Nov 18, 2024. It is now read-only.

Commit

Permalink
Endret tillatelser
Browse files Browse the repository at this point in the history
  • Loading branch information
eilifjohansen committed Nov 17, 2024
1 parent fcea7b1 commit 0f9192f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
FROM node:18-alpine

USER root

# Install build dependencies
RUN apk update && apk add --no-cache build-base gcc autoconf automake zlib-dev libpng-dev vips-dev git > /dev/null 2>&1

Expand All @@ -15,6 +17,7 @@ ENV PATH=/app/node_modules/.bin:$PATH
COPY . .
RUN yarn build

RUN chown -R node:node /app
EXPOSE 1337

# Run the application as root
Expand Down

0 comments on commit 0f9192f

Please sign in to comment.