mirror of
https://github.com/jambonz/jambonz-api-server.git
synced 2026-11-09 04:49:01 +00:00
Dockerfile to init/upgrade the database, and associated changes
This commit is contained in:
1 parent
4bf79fe42b
commit
8117f77955
6 files changed
+144
-35
No files matched your search
@@ -0,0 +1,10 @@
|
||||
FROM node:16
|
||||
WORKDIR /opt/app/
|
||||
COPY package.json ./
|
||||
RUN npm install
|
||||
RUN npm prune
|
||||
COPY . /opt/app
|
||||
ARG NODE_ENV
|
||||
ENV NODE_ENV $NODE_ENV
|
||||
|
||||
CMD [ "npm", "run", "upgrade-db" ]
|
||||
Reference in new issue
Block a user