1
0
mirror of https://github.com/bitwarden/server synced 2026-01-06 02:23:51 +00:00

move attachments and nginx to util folder

This commit is contained in:
Kyle Spearrin
2017-08-16 00:22:52 -04:00
parent 1ef76b562f
commit 2d26b5fbbd
13 changed files with 6 additions and 6 deletions

View File

@@ -0,0 +1,2 @@
*
!entrypoint.sh

View File

@@ -0,0 +1,7 @@
FROM bitwarden/server
EXPOSE 80
COPY entrypoint.sh /
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -0,0 +1,7 @@
$dir = Split-Path -Parent $MyInvocation.MyCommand.Path
echo "`n# Building Attachments"
echo "`nBuilding docker image"
docker --version
docker build -t bitwarden/attachments $dir\.

10
util/Attachments/build.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
set -e
DIR="$(dirname $(readlink -f $0))"
echo -e "\n# Building Attachments"
echo -e "\nBuilding docker image"
docker --version
docker build -t bitwarden/attachments $DIR/.

View File

@@ -0,0 +1,3 @@
#!/bin/sh
dotnet /bitwarden_server/Server.dll /etc/bitwarden/core/attachments .