Yamamura/Dockerfile
2022-05-30 16:00:11 +02:00

16 lines
252 B
Docker

FROM node:18-alpine
RUN apk add --no-cache python3 make gcc g++
WORKDIR /app
COPY "docker/entrypoint.sh" ./
COPY package*.json ./
RUN npm install
COPY . ./
VOLUME [ "/app/config.json", "/app/db.json" ]
CMD ["sh", "entrypoint.sh"]