mirror of
https://github.com/placeholder-soft/web.git
synced 2026-01-12 17:02:57 +08:00
* update Dockerfile to use public image and remove base bugsnag params * move dockerfile to example
19 lines
315 B
Docker
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"]
|