Skip to content

Commit 0156b36

Browse files
authored
Merge pull request #1109 from joshunrau/dev
fix: add import map to docker file
2 parents f48066d + bbdbdc0 commit 0156b36

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/api/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ COPY --from=installer /app/apps/api/dist/ /app/dist/
2828
COPY --from=installer /app/apps/api/public/ /app/public/
2929
COPY --from=installer /app/apps/api/dist/runtime/ /runtime/
3030

31-
RUN echo '{ "type": "module" }' > package.json
31+
RUN echo '{ "type": "module", "imports": { "#runtime/v1/*": "./dist/runtime/v1/*" } }' > package.json
3232
RUN echo '{ "type": "module" }' > /runtime/package.json
3333
USER node
3434
CMD [ "node", "./dist/app.js" ]

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "opendatacapture",
33
"type": "module",
4-
"version": "1.9.0",
4+
"version": "1.9.1",
55
"private": true,
66
"packageManager": "[email protected]",
77
"license": "Apache-2.0",

0 commit comments

Comments
 (0)