ScreenSharingThing/Dockerfile
2023-07-02 15:51:49 +02:00

18 lines
373 B
Docker

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 ["Server/package.json", "Server/tsconfig.json", "/usr/src/app/"]
RUN npm install
COPY Server/lib/ /usr/src/app/lib
COPY Client/dist/ /usr/src/app/public
EXPOSE 3000/tcp
CMD ["npm", "run", "start"]