Skip to content

Commit

Permalink
fix: missing package, dockerfile
Browse files Browse the repository at this point in the history
chore: updated favicon
  • Loading branch information
mikeplotean committed Oct 27, 2023
1 parent 7d184f3 commit 7c09adc
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 23,534 deletions.
8 changes: 0 additions & 8 deletions .eslintrc

This file was deleted.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ jobs:
env:
KUBE_CONFIG: ${{ secrets.KUBE_CONFIG }}
with:
args: apply -n portals -f k8s/deployment_mod.yaml
args: apply -n vc-repository -f k8s/deployment_mod.yaml
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,16 @@ dist

.nitro/
.data/
.output/
.idea/

*-lock.json
*-lock.yaml
*-lock.yml
*.lock
*.lockb
.npmrc
.prettierrc
.eslintrc
.output
.run
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierrc

This file was deleted.

13 changes: 0 additions & 13 deletions .run/dev.run.xml

This file was deleted.

15 changes: 10 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
FROM docker.io/node:20
ADD .output/ /app

FROM docker.io/gplane/pnpm as buildstage
COPY ./package.json /build/
WORKDIR /build
RUN pnpm install
COPY ./ /build
RUN pnpm run build
# RUN
FROM docker.io/node:20-alpine
COPY --from=buildstage /build/.output/ /app
WORKDIR /app

EXPOSE 3000
ENTRYPOINT node server/index.mjs
ENTRYPOINT node server/index.mjs
15 changes: 12 additions & 3 deletions Dockerfile2 → Dockerfile-bun-official-erroring
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
FROM oven/bun as base
WORKDIR /app
###################################################
# ERROR [nuxt] [request error] [unhandled] [500] first argument must be an ArrayBufferView or an ArrayBuffer (near '...stantiate(wasm, obj));...')
# https://github.com/nuxt/content/issues/2334
###################################################



# use the official Bun image
# see all versions at https://hub.docker.com/r/oven/bun/tags
FROM oven/bun:1 as base
WORKDIR /usr/src/app

# install dependencies into temp directory
# this will cache them and speed up future builds
Expand Down Expand Up @@ -33,4 +42,4 @@ COPY --from=prerelease /usr/src/app/package.json .
# run the app
USER bun
EXPOSE 3000/tcp
ENTRYPOINT [ "bun", "run", "index.ts" ]
ENTRYPOINT [ "bun", "run", "index.ts" ]
Binary file removed bun.lockb
Binary file not shown.
20 changes: 0 additions & 20 deletions oldDockerfile

This file was deleted.

Loading

0 comments on commit 7c09adc

Please sign in to comment.