1
0
mirror of https://github.com/bitwarden/server.git synced 2024-12-01 13:43:23 +01:00
bitwarden-server/src/Icons/Dockerfile

22 lines
554 B
Docker
Raw Normal View History

2017-12-04 15:26:50 +01:00
FROM microsoft/aspnetcore:2.0.3
2017-10-23 15:27:47 +02:00
2017-10-23 23:59:42 +02:00
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
unzip \
&& rm -rf /var/lib/apt/lists/*
2017-10-24 15:14:05 +02:00
WORKDIR /tmp
COPY iconserver.sha256 .
RUN curl -L -o iconserver.zip https://github.com/mat/besticon/releases/download/v3.4.0/iconserver_linux_amd64.zip \
&& sha256sum -c iconserver.sha256 \
&& unzip iconserver.zip -d /etc/iconserver \
&& rm iconserver.*
2017-10-23 23:59:42 +02:00
2017-10-23 15:27:47 +02:00
WORKDIR /app
EXPOSE 80
COPY obj/Docker/publish .
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]