ScreenSharingThing/Dockerfile

18 lines
347 B
Docker
Raw Permalink Normal View History

2021-12-14 21:59:00 +00:00
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"]