mirror of
https://github.com/ershisan99/rate-limited-server.git
synced 2025-12-16 20:59:29 +00:00
initial commit
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@@ -0,0 +1,17 @@
|
||||
FROM oven/bun
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY package.json .
|
||||
COPY bun.lockb .
|
||||
|
||||
RUN bun install --production
|
||||
|
||||
COPY src src
|
||||
COPY tsconfig.json .
|
||||
# COPY public public
|
||||
|
||||
ENV NODE_ENV production
|
||||
CMD ["bun", "src/index.ts"]
|
||||
|
||||
EXPOSE 4444
|
||||
Reference in New Issue
Block a user