dockerfile/examples/standardnotes/official-src/server-main/packages/api-gateway/Dockerfile

18 lines
285 B
Docker
Raw Normal View History

2024-03-15 14:52:38 +08:00
FROM node:20.6.1-alpine
RUN apk add --update \
curl \
&& rm -rf /var/cache/apk/*
ENV NODE_ENV production
RUN corepack enable
COPY ./ /workspace
WORKDIR /workspace/packages/api-gateway
ENTRYPOINT [ "/workspace/packages/api-gateway/docker/entrypoint.sh" ]
CMD [ "start-web" ]