mirror of
https://github.com/catdevnull/preciazo.git
synced 2024-11-23 06:36:19 +00:00
no usar tini
parece que railway.app ya usa algun pid 1
This commit is contained in:
parent
43954d7af8
commit
7c967a8d74
1 changed files with 1 additions and 2 deletions
|
@ -11,7 +11,7 @@ RUN cd sitio && \
|
||||||
RUN bun build scraper/cli.ts --target=bun --outfile=/tmp/cli.build.js
|
RUN bun build scraper/cli.ts --target=bun --outfile=/tmp/cli.build.js
|
||||||
|
|
||||||
FROM base
|
FROM base
|
||||||
RUN apk add --no-cache tini nodejs npm jq
|
RUN apk add --no-cache nodejs npm jq
|
||||||
|
|
||||||
# Sitio
|
# Sitio
|
||||||
COPY --from=build /usr/src/app/sitio/package.json package.real.json
|
COPY --from=build /usr/src/app/sitio/package.json package.real.json
|
||||||
|
@ -27,5 +27,4 @@ ENV NODE_ENV=production
|
||||||
ENV DB_PATH=/db/db.db
|
ENV DB_PATH=/db/db.db
|
||||||
EXPOSE 3000
|
EXPOSE 3000
|
||||||
|
|
||||||
ENTRYPOINT ["tini", "--"]
|
|
||||||
CMD ["node", "."]
|
CMD ["node", "."]
|
Loading…
Reference in a new issue