mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
run as root
This commit is contained in:
parent
13701c535e
commit
37acf03106
1 changed files with 1 additions and 2 deletions
|
|
@ -9,8 +9,7 @@ ENV PORT 5000
|
||||||
|
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir -p data && chown -R deno data
|
RUN mkdir -p data
|
||||||
USER deno
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN deno cache src/server.ts
|
RUN deno cache src/server.ts
|
||||||
RUN deno task headless:setup
|
RUN deno task headless:setup
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue