mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2026-01-20 16:42:56 +00:00
refactor: app deployment
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM registry.gitlab.com/openstapps/projectmanagement/node:v18 as workspace
|
||||
|
||||
USER root
|
||||
RUN apk add --update python3 py3-pip make g++ gcompat
|
||||
|
||||
WORKDIR app/
|
||||
COPY pnpm-lock.yaml \
|
||||
package.json \
|
||||
pnpm-workspace.yaml ./
|
||||
RUN pnpm fetch --prod
|
||||
|
||||
COPY backend/ backend/
|
||||
COPY configuration/ configuration/
|
||||
COPY examples/ examples/
|
||||
COPY frontend/ frontend/
|
||||
COPY packages/ packages/
|
||||
|
||||
RUN pnpm install -r --offline --prod
|
||||
Reference in New Issue
Block a user