mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-06 19:47:00 +03:00
docker
This commit is contained in:
9
Dockerfile
Normal file
9
Dockerfile
Normal file
@@ -0,0 +1,9 @@
|
||||
FROM node:12
|
||||
WORKDIR /usr/src/app
|
||||
COPY package.json .
|
||||
RUN npm install
|
||||
COPY index.js .
|
||||
COPY src .
|
||||
COPY entrypoint.sh .
|
||||
EXPOSE 8080
|
||||
ENTRYPOINT ./entrypoint.sh
|
||||
4
entrypoint.sh
Normal file
4
entrypoint.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
#!bin/bash
|
||||
set -e
|
||||
cp /etc/config.json .
|
||||
node index.js
|
||||
Reference in New Issue
Block a user