cors: add self hostable cors proxy
This commit is contained in:
1 parent
a3235ca381
commit
75369a5988
6 files changed
+340
-3
No files matched your search
@@ -0,0 +1,19 @@
|
||||
FROM oven/bun:1.3.5-slim
|
||||
|
||||
RUN mkdir -p /home/bun/app && chown -R bun:bun /home/bun/app
|
||||
|
||||
WORKDIR /home/bun/app
|
||||
|
||||
USER bun
|
||||
|
||||
COPY --chown=bun:bun package.json bun.lock .
|
||||
|
||||
RUN bun install --frozen-lockfile
|
||||
|
||||
COPY --chown=bun:bun . .
|
||||
|
||||
RUN bun run build
|
||||
|
||||
EXPOSE 3000
|
||||
|
||||
CMD ["bun", "run", "start"]
|
||||
Reference in new issue
Block a user