1
Fork 0

Add Docker files

This commit is contained in:
Korbs 2024-06-21 02:41:13 -04:00
parent 1d63b5d9f2
commit f96c8be123
3 changed files with 18 additions and 0 deletions

0
.docker/.drone.yml Normal file
View file

12
.docker/Dockerfile Normal file
View file

@ -0,0 +1,12 @@
FROM codeberg.org/korbs/bun:${ARCH} AS runtime
WORKDIR /app
COPY . .
RUN bun install
RUN bun run build
ENV HOST=0.0.0.0
ENV PORT=4321
EXPOSE 4321
CMD bun ./dist/server/entry.mjs

View file

@ -0,0 +1,6 @@
services:
nginx:
image: docker.io/library/demo-thingie
restart: unless-stopped
ports:
- 6003:4321