pseudosubs-v1/Dockerfile
2024-02-29 09:14:57 -05:00

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" ]