Hironsan
810b9c325e
Split settings.py
2 years ago
Hironsan
d02d0a9250
Update Dockerfile
2 years ago
Hironsan
18daace617
Enable to show images and audios in the case of pip and Docker
2 years ago
Hironsan
e435f02822
Update Dockerfile to change the default value of DEBUG, fix #1457
3 years ago
Hironsan
5fc5810171
Update Dockerfiles
3 years ago
rcarew@xelerance.com
5317fef860
Python version pinning fix
3 years ago
rcarew@xelerance.com
186442aa3e
Updated various dependency and image versions
3 years ago
Hironsan
bab7978ec3
Update Dockerfile to avoid permission denied
3 years ago
Hironsan
a3a054c393
Rename app dir to backend for pip installation
3 years ago
Hironsan
6ec97b28ad
Support async upload for Dockerfile version
3 years ago
Hironsan
5d8bd54632
Update Dockerfiles
3 years ago
Leonardo Apolonio
12d7dbbbff
keep versions consistent between app docker and build image
3 years ago
Leonardo Apolonio
bfd50ba7a1
fix build and push image
3 years ago
Hironsan
8d5ff35cf2
Update libpq-dev version to avoid build failure
3 years ago
Hironsan
244180c1c6
Update Dockerfile to install packages for heroku
3 years ago
Hironsan
1fb04cccab
Update frontend to add comment feature
3 years ago
Hironsan
8f4fad340d
Change Dockerfile to use Pipfile
3 years ago
Hironsan
f680f1f9d5
Update Dockerfile to install libssl-dev
3 years ago
Hironsan
41f452ed73
Pinning package versions in Dockerfile
4 years ago
Hironsan
ccc1c3cfc3
Update Dockerfile
4 years ago
Hironsan
2322a73921
Update Dockerfile to support v1.x
4 years ago
Alexander Kurakin
1ef215babe
apk and pip: turn off caching
4 years ago
Clemens Wolff
fa4d92ee53
Add volume for SQLite DB in doccano container
5 years ago
margaretmeehan
2baee268cb
fix nodesource link
5 years ago
Caroline Teicher
ff9978704d
Add linter for Dockerfile
5 years ago
Clemens Wolff
bf531c74c0
Fix nodesource link
5 years ago
Hironsan
c6375532db
Fix #337
5 years ago
Clemens Wolff
4285fda947
Add test automation for SQL Server backend
5 years ago
Clemens Wolff
d4fea8f6c5
Replace cd with WORKDIR
5 years ago
Clemens Wolff
68bc4df7a6
Pin versions of packages installed via apt-get
5 years ago
Clemens Wolff
47bbb741d2
Add support for SQL Server database
5 years ago
Clemens Wolff
f29e4a14d0
Pin python base image to debian stretch
5 years ago
Clemens Wolff
48c3d4832e
Avoid running docker image as root
5 years ago
Clemens Wolff
9206b499c2
Adopt nuxt folder structure
5 years ago
Clemens Wolff
fca8b98c4f
Introduce new layer to clean up build artifacts
5 years ago
Clemens Wolff
5cd3f31783
Speed up failed CI by delaying collectstatic
5 years ago
Clemens Wolff
89372b6242
Remove IS_HEROKU flag
5 years ago
Clemens Wolff
e5c935afa4
Avoid auto-overwriting sslmode outside of heroku
5 years ago
Clemens Wolff
e40a3e12d7
Ensure eslint gets run during CI
5 years ago
Clemens Wolff
c248e34ffd
Turn dockerfile into a multi-stage build
Using a multi-stage build reduces the image size from 1.23GB to 331MB
which means that any node running doccano can now start-up faster.
Additionally, the multi-stage build means that we no longer include
development tools like node or gcc in the production image which reduces
the attack surface of the image.
5 years ago
Clemens Wolff
e038aa8f7a
Enable Heroku to pass $PORT to Docker
5 years ago
Clemens Wolff
821ec0ec87
Automate bundle creation
5 years ago
Clemens Wolff
7f6cce2f6e
Add client-side analytics via Azure AppInsights
See https://docs.microsoft.com/en-us/azure/azure-monitor/app/javascript
5 years ago
Clemens Wolff
5c17ae24b0
Make Google Analytics Tracking ID configurable
5 years ago
Clemens Wolff
0b1f464c74
Ensure that server is started correctly in Docker
Also: ignore files generated during application run which enables a
better development experience in Docker with source mounts like
`docker run -p 8080:80 -v $PWD:/doccano -it doccano`.
5 years ago
Clemens Wolff
c8e5f9b746
Share CI steps between Docker and Travis
5 years ago
Clemens Wolff
c1a22bd815
Run tests as part of the docker build
5 years ago
Clemens Wolff
a931cb6d0c
Enable settings injection via Docker env
5 years ago
Clemens Wolff
651e493c93
Add Dockerfile
As per https://github.com/chakki-works/doccano/projects/2#card-16406087 ,
this change adds a Dockerfile for the project.
The Python distribution used by the image can be specified via a
build-time argument. This enables us in the future to for example run
the tests on a wide variety of Python versions.
In the future, the Dockerfile could be extended to for example leverage
multi-stage builds. In this case, the first stage could run tests,
linter, and so forth and then create a wheel or similar artifact via
setuptools. A second stage in the build can then only include a minimal
set of dependencies to install and run the artifact (e.g. using
python-slim as a base image).
5 years ago