mirror of
https://github.com/bitwarden/server.git
synced 2025-04-15 18:18:12 -05:00
build iconserver into icons dockerfile
This commit is contained in:
parent
229b517f2c
commit
1025424461
@ -1,5 +1,14 @@
|
|||||||
FROM microsoft/aspnetcore:2.0.0
|
FROM microsoft/aspnetcore:2.0.0
|
||||||
|
|
||||||
|
RUN apt-get update \
|
||||||
|
&& apt-get install -y --no-install-recommends \
|
||||||
|
unzip \
|
||||||
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
|
RUN curl -L -o /tmp/iconserver.zip https://github.com/mat/besticon/releases/download/v3.4.0/iconserver_linux_amd64.zip \
|
||||||
|
&& unzip /tmp/iconserver.zip -d /etc/iconserver \
|
||||||
|
&& rm /tmp/iconserver.zip
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
EXPOSE 80
|
EXPOSE 80
|
||||||
COPY obj/Docker/publish .
|
COPY obj/Docker/publish .
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
dotnet /app/Icons.dll
|
/etc/iconserver/iconserver &
|
||||||
|
dotnet /app/Icons.dll iconsSettings:bestIconBaseUrl=http://localhost:8080
|
||||||
|
Loading…
x
Reference in New Issue
Block a user