15 lines
264 B
Docker
15 lines
264 B
Docker
FROM oven/bun:latest as base
|
|
WORKDIR /usr/src/app
|
|
|
|
# Copy the dist folder from here
|
|
COPY . .
|
|
|
|
ENV NODE_ENV=production
|
|
# Install deps
|
|
RUN bun install --frozen-lockfile --production
|
|
|
|
# run the app
|
|
USER bun
|
|
EXPOSE 3485/tcp
|
|
ENTRYPOINT [ "bun", "run", "srv/index.ts" ]
|