mpp-server-dev2/Dockerfile

17 lines
264 B
Docker
Raw Normal View History

2024-08-13 11:55:27 +02:00
FROM oven/bun:latest AS base
WORKDIR /usr/src/app
2024-08-22 01:37:32 +02:00
COPY src src
COPY public public
COPY config config
COPY *.json ./
COPY mppkey ./mppkey
2024-08-13 11:55:27 +02:00
2024-08-22 01:37:32 +02:00
RUN bun install
RUN bunx prisma generate
2024-08-13 11:55:27 +02:00
2024-08-22 01:37:32 +02:00
# Mount ./prisma to /usr/src/app/prisma
2024-08-13 11:55:27 +02:00
EXPOSE 8443/tcp
ENTRYPOINT [ "bun", "." ]