mirror of
https://github.com/bitinflow/server.git
synced 2026-03-13 13:35:53 +00:00
update dockerfile entrypoint to use esm
Does not work using #! in bin/server without this.
This commit is contained in:
@@ -10,4 +10,4 @@ RUN yarn install --production && yarn cache clean
|
||||
COPY . /app
|
||||
|
||||
ENV NODE_ENV production
|
||||
ENTRYPOINT ["bin/server"]
|
||||
ENTRYPOINT ["node", "-r", "esm", "./bin/server"]
|
||||
|
||||
Reference in New Issue
Block a user