diff --git a/.docker/.drone.yml b/.docker/.drone.yml new file mode 100644 index 0000000..e69de29 diff --git a/.docker/Dockerfile b/.docker/Dockerfile new file mode 100644 index 0000000..6a57cd7 --- /dev/null +++ b/.docker/Dockerfile @@ -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 \ No newline at end of file diff --git a/.docker/docker-compose.yml b/.docker/docker-compose.yml new file mode 100644 index 0000000..8d23850 --- /dev/null +++ b/.docker/docker-compose.yml @@ -0,0 +1,6 @@ +services: + nginx: + image: docker.io/library/demo-thingie + restart: unless-stopped + ports: + - 6003:4321 \ No newline at end of file