Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions apps/web/Caddyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
:80 {
root * /srv
encode gzip zstd
try_files {path} /index.html
file_server
}
10 changes: 6 additions & 4 deletions apps/web/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ RUN pnpm install --frozen-lockfile
RUN turbo build --filter=@opendatacapture/web

# RUN SERVER
FROM base AS runner
RUN pnpm install -g @import-meta-env/cli@0.6.8 http-server@14.1.1
COPY --from=installer /app/apps/web/.env.public /app/apps/web/dist/ ./
CMD [ "sh", "-c", "import-meta-env -x .env.public -p index.html && http-server -s -p 80 -P http://localhost:80? --gzip ." ]
FROM caddy:2.7-alpine AS runner
RUN apk add --no-cache nodejs npm
RUN npm install -g @import-meta-env/cli@0.6.8
COPY apps/web/Caddyfile /etc/caddy/Caddyfile
COPY --from=installer /app/apps/web/.env.public /app/apps/web/dist/ /srv/
CMD [ "sh", "-c", "import-meta-env -x .env.public -p index.html && caddy run --config /etc/caddy/Caddyfile --adapter caddyfile" ]
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "opendatacapture",
"type": "module",
"version": "1.16.4",
"version": "1.16.5",
"private": true,
"packageManager": "pnpm@10.34.1",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/instrument-bundler/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opendatacapture/instrument-bundler",
"type": "module",
"version": "1.16.4",
"version": "1.16.5",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/instrument-guidelines/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opendatacapture/instrument-guidelines",
"type": "module",
"version": "1.16.4",
"version": "1.16.5",
"description": "Guidelines for authoring Open Data Capture instruments, intended to be read by an AI agent (e.g. Claude Code).",
"license": "Apache-2.0",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/serve-instrument/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opendatacapture/serve-instrument",
"type": "module",
"version": "1.16.4",
"version": "1.16.5",
"license": "Apache-2.0",
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion runtime/v1/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@opendatacapture/runtime-v1",
"type": "module",
"version": "1.16.4",
"version": "1.16.5",
"author": {
"name": "Douglas Neuroinformatics",
"email": "support@douglasneuroinformatics.ca"
Expand Down
Loading