Skip to content

Commit

Permalink
chore: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
devthejo committed Oct 19, 2023
1 parent dce898c commit ef4e5fe
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 3 additions & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
FROM node:16-alpine

RUN mkdir /app && chown 1000:1000 /app && chown 1000:1000 /tmp
RUN mkdir /app && chown 1000:1000 /app \
&& chown 1000:1000 /tmp && \
mkdir /home/node/.yarn && chown 1000:1000 /home/node/.yarn
WORKDIR /app
USER 1000

Expand Down
4 changes: 3 additions & 1 deletion dashboard/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM node:14-alpine as builder

RUN apk add --no-cache gcc autoconf automake build-base libpng-dev nasm

RUN mkdir /app && chown 1000:1000 /app && chown 1000:1000 /tmp
RUN mkdir /app && chown 1000:1000 /app \
&& chown 1000:1000 /tmp && \
mkdir /home/node/.yarn && chown 1000:1000 /home/node/.yarn
WORKDIR /app
USER 1000

Expand Down
4 changes: 3 additions & 1 deletion website/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ FROM node:16-alpine as builder

RUN apk add --no-cache gcc autoconf automake build-base libpng-dev nasm

RUN mkdir /app && chown 1000:1000 /app && chown 1000:1000 /tmp
RUN mkdir /app && chown 1000:1000 /app \
&& chown 1000:1000 /tmp && \
mkdir /home/node/.yarn && chown 1000:1000 /home/node/.yarn
WORKDIR /app
USER 1000

Expand Down

0 comments on commit ef4e5fe

Please sign in to comment.