add allow-import flag to dockerfile

This commit is contained in:
Siddharth Singh 2024-10-13 23:47:29 +05:30
parent a7bca0bdff
commit 61ee6e5e8d
No known key found for this signature in database

View file

@ -4,7 +4,7 @@ ENV PORT 5000
WORKDIR /app
RUN mkdir -p data && chown -R deno data
COPY . .
RUN deno cache src/server.ts
RUN deno cache --allow-import src/server.ts
RUN apt-get update && apt-get install -y unzip curl
RUN deno task soapbox
CMD deno task start