mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2024-11-10 09:07:47 +01:00
13 lines
245 B
Docker
13 lines
245 B
Docker
FROM node:14
|
|
WORKDIR /usr/src/app
|
|
COPY package.json .
|
|
COPY package-lock.json .
|
|
COPY tsconfig.json .
|
|
COPY src src
|
|
RUN npm ci
|
|
RUN npm run tsc
|
|
RUN mkdir databases
|
|
COPY databases/*.sql databases/
|
|
COPY entrypoint.sh .
|
|
EXPOSE 8080
|
|
CMD ./entrypoint.sh
|