mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 03:19:46 +00:00
update dockerfile for tribes
This commit is contained in:
parent
cb78799997
commit
eac375b99d
1 changed files with 7 additions and 1 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue