mirror of
https://github.com/sakaljurgis/kodi-api-server.git
synced 2026-07-08 20:37:41 +00:00
dockerise server
This commit is contained in:
+17
@@ -0,0 +1,17 @@
|
||||
FROM node:18
|
||||
|
||||
RUN apt-get update
|
||||
RUN apt-get install ffmpeg -y
|
||||
|
||||
WORKDIR /srv/app
|
||||
COPY ./ /srv/app
|
||||
RUN npm install
|
||||
RUN npm run typeorm:run-migrations
|
||||
|
||||
EXPOSE $PORT
|
||||
|
||||
# serve dev
|
||||
CMD ["npm", "run", "start:dev"]
|
||||
|
||||
#serve prod
|
||||
#CMD ["npm", "run", "start"]
|
||||
Reference in New Issue
Block a user