mirror of
https://github.com/bitwarden/server.git
synced 2024-11-25 12:45:18 +01:00
attachments build cleanup
This commit is contained in:
parent
fecd5b3a1a
commit
e081213615
2
attachments/.dockerignore
Normal file
2
attachments/.dockerignore
Normal file
@ -0,0 +1,2 @@
|
||||
*
|
||||
!entrypoint.sh
|
@ -7,4 +7,5 @@ echo "=================="
|
||||
& $dir\src\Api\build.ps1
|
||||
& $dir\src\Identity\build.ps1
|
||||
& $dir\nginx\build.ps1
|
||||
& $dir\attachments\build.ps1
|
||||
& $dir\util\Setup\build.ps1
|
||||
|
1
build.sh
1
build.sh
@ -9,4 +9,5 @@ echo -e "=================="
|
||||
$DIR/src/Api/build.sh
|
||||
$DIR/src/Identity/build.sh
|
||||
$DIR/nginx/build.sh
|
||||
$DIR/attachments/build.sh
|
||||
$DIR/util/Setup/build.sh
|
||||
|
3
nginx/.dockerignore
Normal file
3
nginx/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!entrypoint.sh
|
||||
!nginx.conf
|
@ -12,7 +12,7 @@ namespace Bit.Core.Models.Api
|
||||
: base("attachment")
|
||||
{
|
||||
Id = id;
|
||||
Url = $"{globalSettings.Attachment.BaseUrl}{cipher.Id}/{id}";
|
||||
Url = $"{globalSettings.Attachment.BaseUrl}/{cipher.Id}/{id}";
|
||||
FileName = data.FileName;
|
||||
Size = data.SizeString;
|
||||
SizeName = Utilities.CoreHelpers.ReadableBytesSize(data.Size);
|
||||
|
3
util/Setup/.dockerignore
Normal file
3
util/Setup/.dockerignore
Normal file
@ -0,0 +1,3 @@
|
||||
*
|
||||
!obj/Docker/publish/*
|
||||
!obj/Docker/empty/
|
Loading…
Reference in New Issue
Block a user