run Dockerfile as root

This commit is contained in:
Siddharth Singh 2024-10-04 02:29:54 +05:30
parent 4f0f341f01
commit 018600058a
No known key found for this signature in database

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