mirror of
https://github.com/Cian-H/I-Form_Server_Node_Deployer.git
synced 2026-01-04 12:32:01 +00:00
Fully working locally
This commit is contained in:
17
templates/patched.dockerfile
Normal file
17
templates/patched.dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user