update dockerfile for tribes

This commit is contained in:
Siddharth Singh 2024-10-04 02:06:10 +05:30
parent cb78799997
commit eac375b99d
No known key found for this signature in database

View file

@ -1,8 +1,14 @@
FROM denoland/deno:1.44.2
EXPOSE 4036
ENV PORT 5000
WORKDIR /app
RUN mkdir -p data && chown -R deno data
USER deno
RUN mkdir -p data
COPY . .
RUN deno cache src/server.ts
CMD deno task start
RUN apt-get update && apt-get install -y unzip curl
RUN deno task soapbox
CMD deno task start