Commit 47ea1287 authored by Yori Fournier's avatar Yori Fournier
Browse files

initial commit

parent 92f8de9e
Pipeline #95 failed with stages
in 0 seconds
FROM node:17-buster-slim as base
RUN apt-get update -y \
&& apt-get install -y \
build-essential \
gcc \
make \
curl \
git \
python3 \
python3-dev \
python3-pip
# change UID and GID from node user
RUN usermod -u 999 node \
&& groupmod -g 999 node
FROM base as wetty_builder
WORKDIR /usr/src/app
RUN git clone https://github.com/butlerx/wetty.git /usr/src/app
RUN yarn && \
yarn build && \
yarn install --production --ignore-scripts --prefer-offline
FROM base as explorer
COPY --from=wetty_builder /usr/src/app/build /usr/src/app/build
COPY --from=wetty_builder /usr/src/app/node_modules /usr/src/app/node_modules
COPY --from=wetty_builder /usr/src/app/package.json /usr/src/app/package.json
RUN apt-get install -y \
vim
ENTRYPOINT ["bash"]
ONBUILD CMD [""]
FROM base as runner
USER node
ENTRYPOINT ["bash"]
ONBUILD CMD [""]
\ No newline at end of file
ParamPath = "" # the version-control repository path to the parameter folder
NoParams = true # set to true to ignore ParamPath
DockerfilePath = "Dockerfile" # the version-control repository path to the Dockerfile
BaseImagePackage = ""
MountAbsParamPath = "" # the container path to the parameter folder
MountAbsProdPath = "/tmp/source/products" # the container path to the products folder
AccessPoint = "3000" # the external access port (to which you connect from outside)
ExposedAccessPoint = "3000" # the container access port (to which your service listen to)
[MountAbsDepsPath] # Dictionary of the dependancies Path
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment