UNCLASSIFIED - NO CUI

Skip to content
Snippets Groups Projects
Verified Commit 168e3335 authored by Patrick Tafoya's avatar Patrick Tafoya
Browse files

template fixes

parent d601b4dc
No related branches found
No related tags found
No related merge requests found
FROM registry1.dso.mil/ironbank/opensource/nodejs/nodejs20:20.11
FROM node:20.11
# Create and set ownership for /home/node
RUN mkdir -p /home/node && chown node:node /home/node
WORKDIR /home/node
USER node
# set up dependencies
COPY --chown=node:node ./<<projectName>>-ui/package.json ./<<projectName>>-ui/package-lock.json /home/node/
COPY --chown=node:node ./datboot-ui/package.json ./datboot-ui/package-lock.json ./
# install dependencies
RUN npm ci
# Expose port 8080 (optional, if you plan to access directly)
EXPOSE 8080
# Default command (can be overridden by docker-compose)
CMD ["npx", "vite", "--host"]
\ No newline at end of file
......@@ -15,7 +15,7 @@ Next, grant execute permissions on the startup.sh file and run the setup script.
```shell
chmod +x ./scripts/setup.sh
bash ./scripts.setup.sh
bash ./scripts/setup.sh
```
```sh
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment