14 lines
220 B
Docker
14 lines
220 B
Docker
ARG BUILD_FROM
|
|
FROM $BUILD_FROM
|
|
|
|
COPY ./package.json ./
|
|
COPY ./package-lock.json ./
|
|
COPY ./src ./src
|
|
COPY ./tsconfig.json ./
|
|
RUN npm install
|
|
RUN npm install ts-node
|
|
|
|
COPY run.sh /
|
|
RUN chmod a+x /run.sh
|
|
|
|
CMD [ "/run.sh" ] |