Added Assets
This commit is contained in:
25
assets/dockerfiles/with-chunks.dockerfile
Normal file
25
assets/dockerfiles/with-chunks.dockerfile
Normal file
@@ -0,0 +1,25 @@
|
||||
FROM docker.io/oven/bun AS frontend
|
||||
|
||||
WORKDIR /app
|
||||
COPY frontend/package*.json ./
|
||||
RUN bun i
|
||||
COPY frontend/ .
|
||||
RUN bun run build
|
||||
|
||||
|
||||
FROM python:3.12-slim
|
||||
|
||||
ENV DOCKER=1
|
||||
WORKDIR /app
|
||||
|
||||
COPY ./backend/requirements.txt \
|
||||
.
|
||||
RUN pip install --no-cache-dir -r \
|
||||
requirements.txt
|
||||
COPY ./backend/ \
|
||||
\
|
||||
\
|
||||
.
|
||||
COPY --from=frontend /app/dist /app/frontend
|
||||
|
||||
CMD ["python3", "app.py"]
|
||||
Reference in New Issue
Block a user