forked from hibas123/ScreenSharingThing
Stuff
This commit is contained in:
17
Dockerfile
Normal file
17
Dockerfile
Normal file
@ -0,0 +1,17 @@
|
||||
FROM node:12
|
||||
|
||||
LABEL maintainer="Fabian Stamm <dev@fabianstamm.de>"
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN npm config set registry https://npm.hibas123.de
|
||||
|
||||
COPY ["package.json", "tsconfig.json", "/usr/src/app/"]
|
||||
|
||||
RUN npm install
|
||||
COPY src/ /usr/src/app/src
|
||||
COPY public/ /usr/src/app/public
|
||||
|
||||
EXPOSE 3000/tcp
|
||||
CMD ["npm", "run", "start"]
|
Reference in New Issue
Block a user