Add prod dockerfile
parent
a5a8d012c8
commit
52f73745b6
|
@ -0,0 +1,9 @@
|
||||||
|
FROM node:latest
|
||||||
|
|
||||||
|
COPY . /home/app
|
||||||
|
WORKDIR /home/app
|
||||||
|
USER node
|
||||||
|
ENV PORT 3000
|
||||||
|
EXPOSE 3000
|
||||||
|
|
||||||
|
CMD ["ts-node", "./src/app.ts"]
|
Loading…
Reference in New Issue