fix: bring dockerfile back to node for now

This commit is contained in:
ThatOneCalculator 2024-01-04 20:25:55 -08:00
parent 00e7dfb41c
commit 7a4b35d26a
No known key found for this signature in database
GPG key ID: 8703CACD01000000

View file

@ -1,14 +1,14 @@
# syntax=docker/dockerfile:1 # syntax=docker/dockerfile:1
FROM oven/bun:latest as build FROM node:alpine as build
WORKDIR /app WORKDIR /app
COPY package.json package-lock.json ./ COPY package.json package-lock.json ./
RUN npm ci
COPY . . COPY . .
RUN bun install RUN npm run build
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
COPY ./backend . COPY ./backend .
CMD [ "sh", "start.sh"] CMD [ "sh", "start.sh"]