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