Unverified Commit b5598f75 authored by ThatOneCalculator's avatar ThatOneCalculator
Browse files

refactor: bun-based dockerfile

parent cddfd113
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM node:alpine as build FROM oven/bun:latest as build
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci
COPY . . COPY . .
RUN npm run build
RUN bun install
RUN bun run build
FROM python:3.11-slim-buster as base FROM python:3.11-slim-buster as base
...@@ -32,4 +32,4 @@ RUN pip3 install -r requirements.txt ...@@ -32,4 +32,4 @@ RUN pip3 install -r requirements.txt
COPY ./backend . COPY ./backend .
CMD [ "sh", "start.sh"] CMD [ "sh", "start.sh"]
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment