This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
frostbot/Dockerfile
2025-05-24 13:40:41 -07:00

17 lines
306 B
Docker

FROM node:20-alpine
WORKDIR /app
RUN apt-get update && apt-get install -y python3 python3-pip
RUN ln -s /usr/bin/python3 /usr/bin/python
RUN npm config set python /usr/bin/python
COPY package*.json ./
RUN npm install
COPY . .
RUN chown -R node:node /app/src/data
USER node
CMD ["npm", "run", "start"]