deploy scripts
This commit is contained in:
1 parent
b84e5c707f
commit
84b7c983d9
4 files changed
+45
-1
No files matched your search
+13
@@ -0,0 +1,13 @@
|
||||
FROM 'node:14'
|
||||
|
||||
RUN mkdir -p /usr/src/app/src/
|
||||
WORKDIR /usr/src/app/
|
||||
|
||||
COPY ./src /usr/src/app/src
|
||||
COPY ./package.json /usr/src/app/package.json
|
||||
COPY ./.env /usr/src/app/.env
|
||||
|
||||
RUN npm install --only=prod
|
||||
EXPOSE 8043
|
||||
|
||||
CMD ["npm", "run", "up:prod"]
|
||||
Reference in new issue
Block a user