mirror of
https://github.com/ragestudio/linebridge.git
synced 2025-06-09 10:34:17 +00:00
added dockerfile
This commit is contained in:
parent
944541f0af
commit
b6b0dd438e
@ -0,0 +1,18 @@
|
||||
FROM node:16-alpine
|
||||
|
||||
# copy source
|
||||
COPY . /app
|
||||
WORKDIR /app
|
||||
|
||||
ENV LISTEN_PORT 1010
|
||||
|
||||
EXPOSE ${LISTEN_PORT}
|
||||
|
||||
# install dependencies
|
||||
RUN npm -g install corenode
|
||||
RUN npm install
|
||||
|
||||
# run builder
|
||||
RUN corenode build
|
||||
|
||||
CMD corenode ./dist/index.js --listenPort=${LISTEN_PORT}
|
Loading…
x
Reference in New Issue
Block a user