update Dockerfile

This commit is contained in:
NhanPT 2022-03-26 16:20:24 +07:00
parent 424b8cf70a
commit 3c9bf2fc23
3 changed files with 6 additions and 3 deletions

View file

@ -3,7 +3,8 @@ FROM denoland/deno:alpine-1.19.3
MAINTAINER Help-14 [mail@help14.com]
LABEL maintainer="mail@help14.com"
COPY src/* /app/
RUN mkdir /app
WORKDIR /app
COPY src/* ./
CMD deno run --allow-net --allow-read --allow-write main.ts

View file

@ -20,7 +20,7 @@ Personal dashboard inspired by flame, highly customizable, lightweight and respo
## Customization
Go to our [website](https://magma.help14.com) and read the document to learn more.
Long story short: [private folder](./src/private) is the original source code of the dashboard, anything in [public folder](./src/public) will replace the file with the same path in [private/themes/{selected theme in config}](./src/private/themes).
Long story short: [private folder](./src/private) is the original source code of the dashboard, anything in [public folder](./src/public) will replace the file with the same path in [private/themes/{selected theme}](./src/private/themes).
## Contribution
Contributions welcome and needed!

View file

@ -1 +1,3 @@
#!/bin/bash
#!/bin/bash
docker build -t magma -f- ./ < Dockerfile