Merge pull request #383 from ThatOneCalculator/bun-dockerfile

refactor: ♻️ bun-based dockerfile
This commit is contained in:
Timothy Jaeryang Baek 2024-01-04 23:49:54 -05:00 committed by GitHub
commit 6736d4d47f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1
FROM node:alpine as build
FROM oven/bun:latest as build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
RUN bun install
RUN bun run build
FROM python:3.11-slim-buster as base