mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29: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
|
FROM denoland/deno:1.44.2
|
||||||
EXPOSE 4036
|
EXPOSE 4036
|
||||||
|
|
||||||
|
ENV PORT 5000
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
RUN mkdir -p data && chown -R deno data
|
RUN mkdir -p data && chown -R deno data
|
||||||
USER deno
|
USER deno
|
||||||
|
RUN mkdir -p data
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN deno cache src/server.ts
|
RUN deno cache src/server.ts
|
||||||
|
RUN apt-get update && apt-get install -y unzip curl
|
||||||
|
RUN deno task soapbox
|
||||||
CMD deno task start
|
CMD deno task start
|
||||||
Loading…
Add table
Reference in a new issue