Files
web/apps/bridge/Dockerfile.example
alvarius 8672dfb25e update Dockerfile to use public image and remove base bugsnag params (#112)
* update Dockerfile to use public image and remove base bugsnag params

* move dockerfile to example
2023-11-06 15:19:14 -05:00

19 lines
315 B
Docker

FROM node:18-alpine3.17
RUN apk update && apk add zip
ENV NODE_ENV=production
WORKDIR /repo
COPY . .
# Install dependencies
RUN yarn --immutable
RUN yarn workspace @app/bridge next build
RUN yarn workspaces focus --all --production
EXPOSE 3000
CMD ["yarn", "workspace", "@app/bridge", "start", "-p", "3000"]