mirror of
https://github.com/PretendoNetwork/website.git
synced 2026-03-21 17:24:28 -05:00
Add npm run build to docker build
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
Some checks are pending
Build and Publish Docker Image / build-publish (push) Waiting to run
This commit is contained in:
parent
b40db00802
commit
3a5eca3c3d
|
|
@ -27,8 +27,8 @@ RUN --mount=type=bind,source=package.json,target=package.json \
|
|||
npm ci
|
||||
|
||||
COPY . .
|
||||
# TODO: re-enable after TypeScript migration
|
||||
#RUN npm run build
|
||||
|
||||
RUN npm run build
|
||||
|
||||
|
||||
# * Running the final application
|
||||
|
|
@ -45,7 +45,4 @@ COPY package.json .
|
|||
COPY --from=dependencies ${app_dir}/node_modules ${app_dir}/node_modules
|
||||
COPY --from=build ${app_dir} ${app_dir}
|
||||
|
||||
# TODO: change back after TypeScript migration
|
||||
#COPY --from=build ${app_dir}/dist ${app_dir}/dist
|
||||
|
||||
CMD ["node", "."]
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user