gateway-bot / Dockerfile
Archnemix's picture
Update Dockerfile
f6c28c8 verified
Raw History Blame Contribute Delete
450 Bytes
# .dockerignore should contain:
# node_modules
# .env
# .git
FROM node:22-alpine
ENV NODE_ENV=production
WORKDIR /app
RUN apk add --no-cache \
fontconfig \
ttf-dejavu \
freetype \
freetype-dev \
fribidi \
python3 \
make \
g++
COPY package.json ./
RUN npm install --omit=dev && \
apk del python3 make g++
COPY src ./src
COPY src/assets ./src/assets
EXPOSE 7860
CMD ["node", "src/index.js"]