Skip to content

Commit

Permalink
ci: fix ENOEXEC: Exec format error
Browse files Browse the repository at this point in the history
  • Loading branch information
sjdonado committed Apr 28, 2024
1 parent 0f11d3c commit 004dbca
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
node_modules

/.cache
/build
/public/build

.git
.github

.env.local
.env.*.local

/sqlite
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ Thumbs.db

.env
todo.md

/sqlite
10 changes: 8 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
FROM oven/bun
FROM oven/bun:alpine

EXPOSE 3000
EXPOSE 3000/tcp

WORKDIR /usr/src/app

RUN apk update && apk add --no-cache chromium

ENV PUPPETEER_SKIP_CHROMIUM_DOWNLOAD=true
ENV CHROME_PATH=/usr/bin/chromium
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium

ENV NODE_ENV production

COPY package.json .
Expand Down
Binary file removed sqlite/db
Binary file not shown.

0 comments on commit 004dbca

Please sign in to comment.