pseudosubs-v1/Dockerfile

15 lines
264 B
Docker
Raw Normal View History

2024-02-29 14:57:11 +00:00
FROM oven/bun:debian as base
2024-02-29 14:14:57 +00:00
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" ]