"git@developer.sourcefind.cn:OpenDAS/nni.git" did not exist on "ea89e232050e56d1c1b7979d286fd9628e4a9fad"
Unverified Commit 6736d4d4 authored by Timothy Jaeryang Baek's avatar Timothy Jaeryang Baek Committed by GitHub
Browse files

Merge pull request #383 from ThatOneCalculator/bun-dockerfile

refactor:  bun-based dockerfile
parents 39516941 3736e5b5
# 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