Fully working locally

This commit is contained in:
Cian Hughes
2023-10-24 15:31:36 +01:00
parent 4cf0e4267c
commit 2a8d3c21fe
10 changed files with 620 additions and 228 deletions

View File

@@ -0,0 +1,17 @@
FROM registry.suse.com/bci/nodejs
ARG CONTAINER_USERID
# Install requirements, create usergroup and add user
RUN zypper -n install --no-recommends mkisofs python3 make gcc gcc-c++
RUN groupadd fuelignition
RUN useradd -m -d /fuelignition fuelignition -u ${CONTAINER_USERID}
COPY --chown=fuelignition . /fuelignition/
USER fuelignition
WORKDIR /fuelignition
RUN npm install
# Run our command
CMD ["npm", "run", "dev"]