feature: Adds migration Docker image.
This commit is contained in:
parent
217e73d9ec
commit
4a46b5aca0
5 changed files with 59 additions and 9 deletions
|
@ -7,11 +7,9 @@ COPY docker-entrypoint.sh /app/
|
|||
COPY tsconfig.json /app/
|
||||
COPY package.json /app/
|
||||
COPY package-lock.json /app/
|
||||
COPY srcpatch.sh /app/
|
||||
RUN sh srcpatch.sh
|
||||
RUN npm install --save-dev
|
||||
RUN npm run build
|
||||
RUN rm srcpatch.sh out/**/*.ts out/**/*.map
|
||||
RUN rm out/**/*.ts out/**/*.map
|
||||
RUN rm -rf src
|
||||
RUN npm prune --production
|
||||
ENTRYPOINT sh docker-entrypoint.sh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue