19 lines
355 B
Docker
19 lines
355 B
Docker
FROM node:22-bookworm-slim
|
|
|
|
ENV WORKING_DIR=/app
|
|
WORKDIR ${WORKING_DIR}
|
|
|
|
RUN apt-get update
|
|
RUN apt-get install python3-pip -y
|
|
RUN apt-get install python3-poetry -y
|
|
|
|
RUN poetry -vvv --version
|
|
|
|
COPY . ${WORKING_DIR}
|
|
COPY pyproject.toml .
|
|
|
|
RUN cd front && npm run generate
|
|
RUN poetry install
|
|
RUN poetry run task build
|
|
|
|
CMD ["poetry", "run", "task", "start"] |