WeidiDeng
f89653cea7
feat(static): release static files into memory while startup ( #1471 )
...
* 初始化时解压zip文件读取内存中
* update go.mod
* 更新各种go版本
2 years ago
AHdark
c99b36f788
chore: better way to remove frontend map files ( #1380 )
...
* Feat: better way to remove frontend map files
* Feat: Docker use `GENERATE_SOURCEMAP` in the frontend build section to avoid generating map files.
2 years ago
HFO4
4a4375a796
fix: recursive `.map` file is not deleted in build script
3 years ago
HFO4
9ab643a71b
fix: zip assets folder path error
3 years ago
HFO4
ac78e9db02
add empty `assets.zip` for placeholder
3 years ago
Weidi Deng
7a3d44451b
precompress embedded frontend. import mholt/archiver.
3 years ago
vvisionnn
79913a5dfa
fix: Dockerfile build issue ( #1217 )
3 years ago
vvisionnn
b50756dbcb
feat: docker/docker-compose support ( #1203 )
...
* Feat: add official Dockerfile
* Feat: add dev docker build actions
* update github actions for docker
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* update docker actions
* fix: add npm default registry
* fix: remove yarn.lock
* fix: update frontend checksum
* remove set registry
* update Dockerfile
* feat: basic docker-compose solution
* remove old Dockerfile
* fix typo
* fix: frontend version
* fix: remove unused comments
3 years ago
Ink33
84807be1ca
use go:embed for static resources ( #1107 )
...
* feat: use go:embed to embed static files
* ci: fix broken test
* docs: update readme.md
* chore: remove statik
* feat: simplify code
Co-authored-by: AaronLiu <abslant@126.com>
3 years ago
HFO4
050a68a359
Chore: update golang version to 1.17.x
3 years ago
milkice
45597adcd3
Integrate aria2c support & fix unintended behavior for docker image ( #1073 )
...
* Update Dockerfile
* Create docker-bootstrap.sh
In addition to spawn cloudreve, this script generates password for aria2 so that users can take advantage of aria2 more conveniently instead of configuring aria2 by themselves.
3 years ago
milkice
8c5445a26d
Fix problems in Dockerfile ( #1059 )
...
Fix js heap out of memory
Fix can't find cloudreve for cloudreve has been renamed to Cloudreve
3 years ago
Loyalsoldier
79b8784934
Comply with Golang semantic import versioning ( #630 )
...
* Code: compatible with semantic import versioning
* Tools & Docs: compatible with semantic import versioning
* Clean go.mod & go.sum
4 years ago
mritd
40414fe6ae
chore(dockerfile): update node image to lts-buster ( #557 )
...
* chore(dockerfile): update node image to lts-buster
update node image to lts-buster, because the alpine image cannot be obtained on arm/arm64,
it will support `docker buildx` build after the upgrade.
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): update golang build image
update golang build image
Signed-off-by: mritd <mritd@linux.com>
4 years ago
mritd
f478c38307
chore(docker): add dockerfile ( #549 )
...
* chore(docker): add dockerfile
add dockerfile
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): fix docker file
fix docker file
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): mv bin file to /cloudreve
mv bin file to /cloudreve
Signed-off-by: mritd <mritd@linux.com>
* chore(docker): remove GOPROXY
remove GOPROXY
Signed-off-by: mritd <mritd@linux.com>
4 years ago