Merge branch 'run-dockerfile-as-root' into 'main'

run Dockerfile as root

See merge request soapbox-pub/ditto!531
This commit is contained in:
Alex Gleason 2024-10-03 21:03:45 +00:00
commit e064531ca2

View file

@ -5,7 +5,6 @@ ENV PORT 5000
WORKDIR /app
RUN mkdir -p data && chown -R deno data
USER deno
COPY . .
RUN deno cache src/server.ts
RUN apt-get update && apt-get install -y unzip curl