Skip to content

Commit 0c3a448

Browse files
committed
add appviewlite
1 parent 20790a7 commit 0c3a448

3 files changed

Lines changed: 31 additions & 0 deletions

File tree

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,6 @@
1010
[submodule "spindle/core"]
1111
path = spindle/core
1212
url = https://tangled.org/@tangled.org/core
13+
[submodule "appviewlite/AppViewLite"]
14+
path = appviewlite/AppViewLite
15+
url = https://github.com/alnkesq/AppViewLite.git

appviewlite/AppViewLite

Submodule AppViewLite added at 4194580

appviewlite/Dockerfile

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0-alpine AS build
2+
3+
RUN mkdir /src /app
4+
5+
WORKDIR /src
6+
COPY ./AppViewLite .
7+
RUN dotnet publish src/AppViewLite.Web -c Release -o /app/publish
8+
9+
FROM mcr.microsoft.com/dotnet/aspnet:9.0-alpine
10+
11+
RUN apk add --no-cache \
12+
git
13+
14+
RUN mkdir /app
15+
VOLUME [ "/home/app/BskyAppViewLiteData", "/home/app/.aspnet/DataProtection-Keys" ]
16+
17+
WORKDIR /app
18+
COPY --from=build /app/publish .
19+
20+
RUN chown -R app:app /app /home/app
21+
22+
USER app
23+
24+
ENV APPVIEWLITE_BIND_URLS=http://localhost:61750
25+
EXPOSE 61750
26+
27+
ENTRYPOINT ["dotnet", "AppViewLite.Web.dll"]

0 commit comments

Comments
 (0)