merge /moodbar API as a flask Blueprint to py/serve.py
[letz.git] / Containerfile
blob6075e59883a2a15737f9cb3c07f2225674968031
1 FROM node:slim
2 WORKDIR /app
3 #RUN apk add --no-cache git curl bash unzip curl strace vim nodejs yarn
4 RUN apt-get update && apt-get install -y \
5     imagemagick less
6 # turn on pdf support for imagemagick
7 RUN sed -i 's/<policy domain="coder" rights="none" pattern="PDF" \/>/<policy domain="coder" rights="read | write" pattern="PDF" \/>/g' /etc/ImageMagick-*/policy.xml
9 #COPY bun.install .
10 #RUN ./bun.install
11 #ENV BUN_INSTALL="/root/.bun"
12 #ENV PATH="$BUN_INSTALL/bin:$PATH"
14 #COPY ["package.json", "./"]
16 #COPY . .
17 #RUN npm install
18 #RUN bun install
19 #CMD ["node","index.js"]
22 CMD bash
24 EXPOSE 3000