SponsorBlockServer/Dockerfile

14 lines
245 B
Docker
Raw Normal View History

2021-06-29 23:12:04 +02:00
FROM node:14
2020-07-05 05:37:57 +02:00
WORKDIR /usr/src/app
COPY package.json .
COPY package-lock.json .
COPY tsconfig.json .
2020-07-05 10:25:57 +02:00
COPY src src
RUN npm ci
RUN npm run tsc
2020-09-04 00:05:13 +02:00
RUN mkdir databases
COPY databases/*.sql databases/
2020-07-05 05:37:57 +02:00
COPY entrypoint.sh .
EXPOSE 8080
CMD ./entrypoint.sh