Merge branch 'tribes-dockerfile-stuff' into 'main'

add allow-import flag to dockerfile

See merge request soapbox-pub/ditto!569
This commit is contained in:
Alex Gleason 2024-10-27 02:29:45 +00:00
commit 6171a321e2

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