18 lines
373 B
Docker
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"]
|