mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
run Dockerfile as root
This commit is contained in:
parent
4f0f341f01
commit
018600058a
1 changed files with 1 additions and 2 deletions
|
|
@ -5,7 +5,6 @@ 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
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue