mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
Merge branch 'dockerfile-changes' into 'main'
Update dockerfile for tribes See merge request soapbox-pub/ditto!530
This commit is contained in:
commit
4f0f341f01
1 changed files with 7 additions and 2 deletions
|
|
@ -1,8 +1,13 @@
|
|||
FROM denoland/deno:1.44.2
|
||||
EXPOSE 4036
|
||||
EXPOSE 5000
|
||||
|
||||
ENV PORT 5000
|
||||
|
||||
WORKDIR /app
|
||||
RUN mkdir -p data && chown -R deno data
|
||||
USER deno
|
||||
COPY . .
|
||||
RUN deno cache src/server.ts
|
||||
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