Added basic Docker support

This commit is contained in:
Colin_
2020-01-28 19:22:59 -05:00
parent 87888916a7
commit 40a15d126f
4 changed files with 80 additions and 0 deletions

7
Dockerfile Normal file
View File

@@ -0,0 +1,7 @@
FROM node:lts-alpine
RUN adduser jira-clone --gecos GECOS --shell /bin/bash --disabled-password --home /app
COPY . /app
WORKDIR /app
RUN npm run install-dependencies && \
cp -v /app/docker/entrypoint.sh /usr/bin/entrypoint
ENTRYPOINT ["entrypoint"]