mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
Merge branch 'run-dockerfile-as-root' into 'main'
run Dockerfile as root See merge request soapbox-pub/ditto!531
This commit is contained in:
commit
e064531ca2
1 changed files with 1 additions and 2 deletions
|
|
@ -5,9 +5,8 @@ ENV PORT 5000
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir -p data && chown -R deno data
|
RUN mkdir -p data && chown -R deno data
|
||||||
USER deno
|
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN deno cache src/server.ts
|
RUN deno cache src/server.ts
|
||||||
RUN apt-get update && apt-get install -y unzip curl
|
RUN apt-get update && apt-get install -y unzip curl
|
||||||
RUN deno task soapbox
|
RUN deno task soapbox
|
||||||
CMD deno task start
|
CMD deno task start
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue