1
0
mirror of https://github.com/bitwarden/server synced 2026-01-04 09:33:40 +00:00

new icon fetching service. remove besticon dep.

This commit is contained in:
Kyle Spearrin
2018-05-22 12:49:34 -04:00
parent 60bb4d466c
commit 0e4ffc7d7f
11 changed files with 357 additions and 115 deletions

View File

@@ -2,17 +2,9 @@ FROM microsoft/aspnetcore:2.0.6
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
unzip \
gosu \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /tmp
COPY iconserver.sha256 .
RUN curl -L -o iconserver.zip https://github.com/mat/besticon/releases/download/v3.6.0/iconserver_linux_amd64.zip \
&& sha256sum -c iconserver.sha256 \
&& unzip iconserver.zip -d /etc/iconserver \
&& rm iconserver.*
ENV ASPNETCORE_URLS http://+:5000
WORKDIR /app
EXPOSE 5000