ScreenSharingThing/Dockerfile

18 lines
373 B
Docker
Raw 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
2023-07-02 13:51:49 +00:00
COPY ["Server/package.json", "Server/tsconfig.json", "/usr/src/app/"]
2021-12-14 21:59:00 +00:00
RUN npm install
2023-07-02 13:51:49 +00:00
COPY Server/lib/ /usr/src/app/lib
COPY Client/dist/ /usr/src/app/public
2021-12-14 21:59:00 +00:00
EXPOSE 3000/tcp
CMD ["npm", "run", "start"]