Add some more docs and streamline entrypoint
This commit is contained in:
@ -10,8 +10,12 @@ RUN npm ci
|
||||
|
||||
FROM deps AS develop
|
||||
WORKDIR /app
|
||||
COPY dev-entrypoint.sh /entrypoint.sh
|
||||
RUN chmod +x /entrypoint.sh
|
||||
RUN cat /entrypoint.sh
|
||||
ENV NODE_ENV=development
|
||||
EXPOSE 3333
|
||||
ENTRYPOINT [ "/entrypoint.sh" ]
|
||||
|
||||
# Production only deps stage
|
||||
FROM base AS production-deps
|
||||
|
Reference in New Issue
Block a user